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

Chris Wilson ickle at kemper.freedesktop.org
Wed Jun 18 12:06:56 PDT 2014


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

New commits:
commit 377b0e8657aab13dc90134853a03feb95f515567
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 18 19:59:14 2014 +0100

    sna: Add log breadcrumbs with valgrind
    
    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 79572a1..e0995ce 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -1326,6 +1326,11 @@ static void describe_sna(ScrnInfoPtr scrn)
 	xf86DrvMsg(scrn->scrnIndex, X_INFO,
 		   "SNA compiled with extra pixmap/damage validation\n");
 #endif
+#ifdef HAVE_VALGRIND
+	xf86DrvMsg(scrn->scrnIndex, X_INFO,
+		   "SNA compiled for use with valgrind\n");
+	VALGRIND_PRINTF("SNA compiled for use with valgrind\n");
+#endif
 	DBG(("pixman version: %s\n", pixman_version_string()));
 }
 


More information about the xorg-commit mailing list