Index: programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c,v retrieving revision 1.10 diff -u -p -r1.10 radeon_render.c --- programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c 18 Oct 2004 15:19:44 -0000 1.10 +++ programs/Xserver/hw/xfree86/drivers/ati/radeon_render.c 30 Nov 2004 11:46:04 -0000 @@ -482,6 +482,15 @@ static Bool FUNC_NAME(R100SetupTexture)( RADEON_CLAMP_S_WRAP | RADEON_CLAMP_T_WRAP); FINISH_ACCEL(); + RADEONEngineFlush(pScrn); + RADEONWaitForFifoFunction(pScrn, 64); + BEGIN_ACCEL(2); + OUT_ACCEL_REG(RADEON_RB2D_DSTCACHE_CTLSTAT, RADEON_RB2D_DC_FLUSH_ALL); + OUT_ACCEL_REG(RADEON_WAIT_UNTIL, RADEON_WAIT_2D_IDLECLEAN | + RADEON_WAIT_3D_IDLECLEAN | + RADEON_WAIT_HOST_IDLECLEAN); + FINISH_ACCEL(); + RADEONEngineFlush(pScrn); return TRUE; }