summaryrefslogtreecommitdiff
path: root/src/radeon_exa_funcs.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_exa_funcs.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_exa_funcs.c')
-rw-r--r--src/radeon_exa_funcs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index a86e148..c0bdf6e 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -65,6 +65,8 @@ FUNC_NAME(RADEONSync)(ScreenPtr pScreen, int marker)
TRACE;
FUNC_NAME(RADEONWaitForIdle)(xf86Screens[pScreen->myNum]);
+
+ RADEONPTR(xf86Screens[pScreen->myNum])->engineMode = EXA_ENGINEMODE_UNKNOWN;
}
static Bool