summaryrefslogtreecommitdiff
path: root/r200/r200_cmdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'r200/r200_cmdbuf.c')
-rw-r--r--r200/r200_cmdbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/r200/r200_cmdbuf.c b/r200/r200_cmdbuf.c
index 2f2b8d9..ad43a8c 100644
--- a/r200/r200_cmdbuf.c
+++ b/r200/r200_cmdbuf.c
@@ -189,7 +189,8 @@ void r200FlushElts(GLcontext *ctx)
if (R200_ELT_BUF_SZ > elt_used)
radeonReturnDmaRegion(&rmesa->radeon, R200_ELT_BUF_SZ - elt_used);
- if (radeon_is_debug_enabled(RADEON_SYNC, RADEON_CRITICAL)) {
+ if (radeon_is_debug_enabled(RADEON_SYNC, RADEON_CRITICAL)
+ && !rmesa->radeon.radeonScreen->kernel_mm) {
radeon_print(RADEON_SYNC, RADEON_NORMAL, "%s: Syncing\n", __FUNCTION__);
radeonFinish( rmesa->radeon.glCtx );
}