diff options
author | Dave Airlie <airlied@redhat.com> | 2008-12-15 14:41:10 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-15 19:09:12 +1000 |
commit | 89a8fd5337c77abf1f3166e69ed061d85b5c20f0 (patch) | |
tree | 347bc589fa2a93b468138156903b411b479d55a2 /src | |
parent | 4ce255a9db8027f2471ba50e57724d3e4d5b16ba (diff) |
r600: don't idle engine
(cherry picked from commit b77729448e487d37707ce028d8edc59352d1cc2d)
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_accel.c | 5 | ||||
-rw-r--r-- | src/radeon_commonfuncs.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index a6e332de..2f62fa5a 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -156,6 +156,9 @@ void RADEONEngineFlush(ScrnInfoPtr pScrn) unsigned char *RADEONMMIO = info->MMIO; int i; + if (info->ChipFamily >= CHIP_FAMILY_R600) + return; + if (info->ChipFamily <= CHIP_FAMILY_RV280) { OUTREGP(RADEON_RB3D_DSTCACHE_CTLSTAT, RADEON_RB3D_DC_FLUSH_ALL, @@ -195,6 +198,8 @@ void RADEONEngineReset(ScrnInfoPtr pScrn) uint32_t rbbm_soft_reset; uint32_t host_path_cntl; + if (info->ChipFamily >= CHIP_FAMILY_R600) + return; /* The following RBBM_SOFT_RESET sequence can help un-wedge * an R300 after the command processor got stuck. */ diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index 12ddaffc..0a9f9db9 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -750,6 +750,9 @@ void FUNC_NAME(RADEONWaitForIdle)(ScrnInfoPtr pScrn) INREG(RADEON_RBBM_STATUS)); #endif + if (info->ChipFamily >= CHIP_FAMILY_R600) + return; + /* Wait for the engine to go idle */ RADEONWaitForFifoFunction(pScrn, 64); |