diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-05-21 10:25:48 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-05-21 10:25:48 +0200 |
commit | 137e3fc1899078af0f72303ab0a4e6cf35804a7b (patch) | |
tree | 846b9f37f7ecd412c77f86f3a6cffd0d037559ff /src/radeon.h | |
parent | 09bfc8ed000f95ede5b73f2bad69edc1a4d9bac6 (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.h')
-rw-r--r-- | src/radeon.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/radeon.h b/src/radeon.h index ce2fe19..8c399cd 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -186,7 +186,6 @@ typedef struct _region { /* ------------------------------------- */ -#define RADEON_DEBUG 1 /* Turn off debugging output */ #define RADEON_IDLE_RETRY 16 /* Fall out of idle loops after this count */ #define RADEON_TIMEOUT 2000000 /* Fall out of wait loops after this count */ @@ -198,15 +197,7 @@ typedef struct _region { * for something else. */ -#if RADEON_DEBUG -#define RADEONTRACE(x) \ -do { \ - ErrorF("(**) %s(%d): ", RADEON_NAME, pScrn->scrnIndex); \ - ErrorF x; \ -} while(0) -#else -#define RADEONTRACE(x) do { } while(0) -#endif +#define RADEON_LOGLEVEL_DEBUG 4 /* Other macros */ |