summaryrefslogtreecommitdiff
path: root/shared-core/radeon_cp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-11-03 09:30:48 +1000
committerDave Airlie <airlied@redhat.com>2008-11-03 09:30:48 +1000
commitb4803991c8ad8596786f8cf1cffc6417c8ce446a (patch)
treed0322bc3cd9259a5cca31994a1804637a8cd5861 /shared-core/radeon_cp.c
parent3fd0e1483ebe640b69da888e286ea85d11539b46 (diff)
downloadlibdrm-b4803991c8ad8596786f8cf1cffc6417c8ce446a.tar.gz
libdrm-b4803991c8ad8596786f8cf1cffc6417c8ce446a.tar.bz2
libdrm-b4803991c8ad8596786f8cf1cffc6417c8ce446a.zip
radeon: update proper chip family
Diffstat (limited to 'shared-core/radeon_cp.c')
-rw-r--r--shared-core/radeon_cp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index 71d1a61b..4f5c538c 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -791,8 +791,8 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev,
dev_priv->ring_rptr->handle +
(RADEON_SCRATCH_REG_OFFSET / sizeof(u32)));
- if (dev_priv->chip_family > CHIP_R300)
- RADEON_WRITE(RADEON_SCRATCH_UMSK, 0x3f);
+ if (dev_priv->chip_family >= CHIP_R300)
+ RADEON_WRITE(RADEON_SCRATCH_UMSK, 0x7f);
else
RADEON_WRITE(RADEON_SCRATCH_UMSK, 0x1f);