summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-07-03 01:10:10 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-07-03 01:10:10 +0200
commitdd0dd4bab76907b4b1b6d814f24e73e57d71f587 (patch)
tree1bf2f0bf9f53e5c32c30b6b39fe232a78d901f90 /src/radeon_exa.c
parent22f165f290f57e638d198f24a37f62fc16b72bae (diff)
Bug #6762: Remove gratuitous cache flushing.
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r--src/radeon_exa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index 0d72005..0e6ff91 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -295,8 +295,7 @@ static void RADEONFinishAccess(PixmapPtr pPix, int index)
do { \
/*if (info->engineMode == EXA_ENGINEMODE_2D)*/ \
/*break;*/ \
- BEGIN_ACCEL(2); \
- OUT_ACCEL_REG(RADEON_RB2D_DSTCACHE_CTLSTAT, RADEON_RB2D_DC_FLUSH); \
+ BEGIN_ACCEL(1); \
OUT_ACCEL_REG(RADEON_WAIT_UNTIL, \
RADEON_WAIT_HOST_IDLECLEAN | \
RADEON_WAIT_3D_IDLECLEAN); \
@@ -308,8 +307,7 @@ do { \
do { \
/*if (info->engineMode == EXA_ENGINEMODE_3D)*/ \
/*break;*/ \
- BEGIN_ACCEL(2); \
- OUT_ACCEL_REG(RADEON_RB2D_DSTCACHE_CTLSTAT, RADEON_RB2D_DC_FLUSH); \
+ BEGIN_ACCEL(1); \
OUT_ACCEL_REG(RADEON_WAIT_UNTIL, \
RADEON_WAIT_HOST_IDLECLEAN | \
RADEON_WAIT_2D_IDLECLEAN | \