From 3bc55d4f6b0a95637d85188782811fef600010eb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 11 Sep 2009 15:51:39 +0100 Subject: Reduce debug This removes some unnecessary and unhelpful log messages. --- src/glamo-kms-driver.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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; } -- cgit v1.2.3