From a89f89a2423aecb199d5f4af2e9430e180aa1131 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 5 Aug 2005 23:04:33 +0000 Subject: 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 --- src/i810_driver.c | 4 ++-- 1 file 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; -- cgit v1.2.3