summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-05 23:04:33 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-05 23:04:33 +0000
commit4c5535161d81174747920a2a3e70ec27a1bcf911 (patch)
tree43118483def910aea2277f0ef40dcc96f2efe235
parent4a7656a726cd6b848df65cbd9c18bbfd8e09fb47 (diff)
I have resolved this by making all the "Direct rendering disabled" messages
X_WARNING and all the "Direct rendering enabled" messages X_INFO. Ideally, we need to factor some of this stuff out to common code. There is a *LOT* of duplication among the *_dri.c files under programs/Xserver/hw/xfree86/drivers. I'm trying to clean up as much low hanging fruit as I can and got tired of waiting for ajax. :P
-rw-r--r--src/mga_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index b9b50ad..ee2766a 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -3336,9 +3336,9 @@ MGAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
pMga->directRenderingEnabled = MGADRIFinishScreenInit(pScreen);
}
if (pMga->directRenderingEnabled) {
- xf86DrvMsg(pScrn->scrnIndex, driFrom, "Direct rendering enabled\n");
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Direct rendering enabled\n");
} else {
- xf86DrvMsg(pScrn->scrnIndex, driFrom, "Direct rendering disabled\n");
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Direct rendering disabled\n");
}
if (pMga->DualHeadEnabled && pMga->SecondCrtc == FALSE)
pMgaEnt->directRenderingEnabled = pMga->directRenderingEnabled;