summaryrefslogtreecommitdiff
path: root/src/i810_driver.c
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
commita89f89a2423aecb199d5f4af2e9430e180aa1131 (patch)
tree391d439ad52e49fcce3ede597e0725d5fea8a300 /src/i810_driver.c
parentfd6d7d7f7ea03961c5ecf7db029f12ece93d414a (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
Diffstat (limited to 'src/i810_driver.c')
-rw-r--r--src/i810_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index 70a05ec3..bfa1dae9 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -2269,9 +2269,9 @@ I810ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
#endif
if (pI810->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");
}
pScreen->SaveScreen = I810SaveScreen;