File U_xf86-video-nouveau_dri-debug-spam.patch of Package xorg-x11-driver-video-nouveau

From 36d3f8c28c55c05ccf4efa985831d2d249bad2fe Mon Sep 17 00:00:00 2001
From: Ben Skeggs <bskeggs@redhat.com>
Date: Wed, 13 Jun 2012 12:41:58 +0000
Subject: dri2: kill debug spam

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
---
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index 27627e6..0b3cc38 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -607,7 +607,6 @@ nouveau_dri2_flip_event_handler(unsigned int frame, unsigned int tv_sec,
 	ScreenPtr screen;
 	ScrnInfoPtr scrn;
 	int status;
-	PixmapPtr pixmap;
 
 	status = dixLookupDrawable(&draw, flip->draw, serverClient,
 				   M_ANY, DixWriteAccess);
@@ -619,12 +618,6 @@ nouveau_dri2_flip_event_handler(unsigned int frame, unsigned int tv_sec,
 	screen = draw->pScreen;
 	scrn = xf86Screens[screen->myNum];
 
-	pixmap = screen->GetScreenPixmap(screen);
-	xf86DrvMsgVerb(scrn->scrnIndex, X_INFO, 4,
-		       "%s: flipevent : width %d x height %d : msc %d : ust = %d.%06d\n",
-		       __func__, pixmap->drawable.width, pixmap->drawable.height,
-		       frame, tv_sec, tv_usec);
-
 	/* We assume our flips arrive in order, so we don't check the frame */
 	switch (flip->action) {
 	case SWAP:
--
cgit v0.9.0.2-2-gbebe
openSUSE Build Service is sponsored by