radeon: update proper chip family

main
Dave Airlie 2008-11-03 09:30:48 +10:00
parent 3fd0e1483e
commit b4803991c8
1 changed files with 2 additions and 2 deletions

View File

@ -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);