[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20090707.git98c012f7-57-g9918e08

Thomas White taw at bitwiz.org.uk
Fri Jan 8 13:25:05 UTC 2010


The following commit has been merged in the master branch:
commit 3bc55d4f6b0a95637d85188782811fef600010eb
Author: Thomas White <taw at bitwiz.org.uk>
Date:   Fri Sep 11 15:51:39 2009 +0100

    Reduce debug
    
    This removes some unnecessary and unhelpful log messages.

diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c
index b2cfa7a..34c7baf 100644
--- a/src/glamo-kms-driver.c
+++ b/src/glamo-kms-driver.c
@@ -302,15 +302,11 @@ static Bool GlamoKMSCreateScreenResources(ScreenPtr pScreen)
 	if (!GlamoKMSExaMakeFullyFledged(rootPixmap, -1, -1, -1, -1, -1))
 		FatalError("Couldn't adjust screen pixmap\n");
 
-	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Adding framebuffer....!\n");
-
-	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "%i %i %i %i %i %i\n",
+	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Adding FB: %i %i %i %i %i %i\n",
 	           pGlamo->drm_fd, pScrn->virtualX, pScrn->virtualY,
 	           pScrn->depth, pScrn->bitsPerPixel,
 	           pScrn->displayWidth * pScrn->bitsPerPixel / 8);
 
-	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "rootPixmap = %p\n", (void *)rootPixmap);
-
 	drmModeAddFB(pGlamo->drm_fd,
 	             pScrn->virtualX,
 	             pScrn->virtualY,
@@ -319,14 +315,10 @@ static Bool GlamoKMSCreateScreenResources(ScreenPtr pScreen)
 	             pScrn->displayWidth * pScrn->bitsPerPixel / 8,
 	             driGetPixmapHandle(rootPixmap, &flags), &pGlamo->fb_id);
 
-	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Done\n");
-
 	GlamoKMSAdjustFrame(pScrn->scrnIndex,
 	                    pScrn->frameX0, pScrn->frameY0,
 	                    0);
 
-	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Finished\n");
-
 	return ret;
 }
 

-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org



More information about the pkg-fso-commits mailing list