diff options
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 4ce0da62..5897c7e6 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -172,17 +172,17 @@ void RADEONEngineFlush(ScrnInfoPtr pScrn) (unsigned int)INREG(RADEON_RB3D_DSTCACHE_CTLSTAT)); } } else { - OUTREGP(R300_RB2D_DSTCACHE_CTLSTAT, + OUTREGP(R300_DSTCACHE_CTLSTAT, R300_RB2D_DC_FLUSH_ALL, ~R300_RB2D_DC_FLUSH_ALL); for (i = 0; i < RADEON_TIMEOUT; i++) { - if (!(INREG(R300_RB2D_DSTCACHE_CTLSTAT) & R300_RB2D_DC_BUSY)) + if (!(INREG(R300_DSTCACHE_CTLSTAT) & R300_RB2D_DC_BUSY)) break; } if (i == RADEON_TIMEOUT) { xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, "DC flush timeout: %x\n", - (unsigned int)INREG(R300_RB2D_DSTCACHE_CTLSTAT)); + (unsigned int)INREG(R300_DSTCACHE_CTLSTAT)); } } } |