summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-05 23:04:32 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-05 23:04:32 +0000
commit14e77a39320a7a074b5c2eeeea9750b469abc978 (patch)
tree937e184c5a2783415e49de5e78ecac517b45b394
parent8e88d36f78c13025847310b411402f1d46a2e0cd (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/r128_driver.c3
-rw-r--r--src/radeon_driver.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index cff6a771..33eade74 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -2742,7 +2742,8 @@ _X_EXPORT Bool R128ScreenInit(int scrnIndex, ScreenPtr pScreen,
if (info->directRenderingEnabled) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Direct rendering enabled\n");
} else {
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Direct rendering disabled\n");
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
+ "Direct rendering disabled\n");
}
#endif
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 63ea9dfa..463e7fc6 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5641,7 +5641,8 @@ _X_EXPORT Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
}
} else {
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Direct rendering disabled\n");
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
+ "Direct rendering disabled\n");
}
#endif