summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-05-21 10:25:48 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-05-21 10:25:48 +0200
commit137e3fc1899078af0f72303ab0a4e6cf35804a7b (patch)
tree846b9f37f7ecd412c77f86f3a6cffd0d037559ff /src/radeon_dri.c
parent09bfc8ed000f95ede5b73f2bad69edc1a4d9bac6 (diff)
radeon: Suppress debugging output by default.
It can be enabled at runtime by increasing the log verbosity level. Also change the prefix from (**) to (II) to make grepping the log file for defaults overridden by xorg.conf more useful again. Turn some MC related debugging output into normal informational output as it's useful for recognizing corner cases that can cause stability issues.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index b09a8cf4..24e31ab5 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1690,7 +1690,8 @@ void RADEONDRIStop(ScreenPtr pScreen)
RADEONInfoPtr info = RADEONPTR(pScrn);
RING_LOCALS;
- RADEONTRACE(("RADEONDRIStop\n"));
+ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
+ "RADEONDRIStop\n");
/* Stop the CP */
if (info->directRenderingInited) {
@@ -1712,7 +1713,8 @@ void RADEONDRICloseScreen(ScreenPtr pScreen)
RADEONInfoPtr info = RADEONPTR(pScrn);
drmRadeonInit drmInfo;
- RADEONTRACE(("RADEONDRICloseScreen\n"));
+ xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
+ "RADEONDRICloseScreen\n");
if (info->irq) {
drmCtlUninstHandler(info->drmFD);