From dd0dd4bab76907b4b1b6d814f24e73e57d71f587 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Jul 2006 01:10:10 +0200 Subject: Bug #6762: Remove gratuitous cache flushing. --- src/radeon_exa.c | 6 ++---- 1 file 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 | \ -- cgit v1.2.3