summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-07-03 01:21:18 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-07-03 01:21:18 +0200
commit920ac1f56fad6f48a30e65836ce054815f270738 (patch)
treeb4c1643064617ac8c7260c38f5241c8f396d5e69 /src/radeon_dri.c
parentdd0dd4bab76907b4b1b6d814f24e73e57d71f587 (diff)
Do even less cache flushing when the previous engine mode is known.
OTOH, flush everything when the previous engine mode is unknown, and mark the engine mode as unknown in a couple more cases.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index 62a310d0..b1dae426 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -431,6 +431,10 @@ static void RADEONLeaveServer(ScreenPtr pScreen)
info->CPInUse = FALSE;
}
+
+#ifdef USE_EXA
+ info->engineMode = EXA_ENGINEMODE_UNKNOWN;
+#endif
}
/* Contexts can be swapped by the X server if necessary. This callback