xf86-video-intel: src/sna/sna_driver.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Jan 20 02:28:22 PST 2015


 src/sna/sna_driver.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e6227daff1e3e46d29bb10fa56193dbb11187bae
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jan 20 10:25:53 2015 +0000

    sna: Add a loud DBG message when enabled
    
    Having a reminder/alert when the debug tracing is enabled I find useful.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 6c122d0..cc233d7 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -1418,6 +1418,10 @@ static void describe_sna(ScrnInfoPtr scrn)
 	xf86DrvMsg(scrn->scrnIndex, X_INFO,
 		   "SNA compiled: %s\n", BUILDER_DESCRIPTION);
 #endif
+#if HAS_DEBUG_FULL
+	ErrorF(scrn->scrnIndex, X_INFO,
+	       "SNA compiled with full debug logging; expect to run slowly\n");
+#endif
 #if !NDEBUG
 	xf86DrvMsg(scrn->scrnIndex, X_INFO,
 		   "SNA compiled with assertions enabled\n");


More information about the xorg-commit mailing list