diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 01:21:18 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 01:21:18 +0200 |
commit | 920ac1f56fad6f48a30e65836ce054815f270738 (patch) | |
tree | b4c1643064617ac8c7260c38f5241c8f396d5e69 /src/radeon_exa_funcs.c | |
parent | dd0dd4bab76907b4b1b6d814f24e73e57d71f587 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index a86e148c..c0bdf6e7 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 |