summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-12-15 14:41:10 +1000
committerDave Airlie <airlied@linux.ie>2008-12-15 19:09:12 +1000
commit89a8fd5337c77abf1f3166e69ed061d85b5c20f0 (patch)
tree347bc589fa2a93b468138156903b411b479d55a2 /src/radeon_accel.c
parent4ce255a9db8027f2471ba50e57724d3e4d5b16ba (diff)
r600: don't idle engine
(cherry picked from commit b77729448e487d37707ce028d8edc59352d1cc2d)
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c5
1 files changed, 5 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.
*/