summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-14 14:41:15 +1000
committerDave Airlie <airlied@redhat.com>2008-08-14 14:41:15 +1000
commiteb8f9b9da4d34b9bfa16dc3847e81976a12d2d0c (patch)
tree0eb03026d62c2c7003b75c4bc0e7fa021961365d /shared-core
parent9dff806802bad79242c58cc5dca3fd108099982b (diff)
radeon: add copy/solid regs for rn50
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/r300_cmdbuf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-core/r300_cmdbuf.c b/shared-core/r300_cmdbuf.c
index 53961fc7..725829b2 100644
--- a/shared-core/r300_cmdbuf.c
+++ b/shared-core/r300_cmdbuf.c
@@ -303,6 +303,13 @@ void r300_init_reg_flags(struct drm_device *dev)
ADD_RANGE(R300_VAP_PVS_CODE_CNTL_0, 4);
ADD_RANGE(R300_VAP_PVS_VECTOR_INDX_REG, 2);
+
+ if (dev_priv->chip_family <= CHIP_RV280) {
+ ADD_RANGE(RADEON_RE_TOP_LEFT, 1);
+ ADD_RANGE(RADEON_RE_WIDTH_HEIGHT, 1);
+ ADD_RANGE(RADEON_AUX_SC_CNTL, 1);
+ ADD_RANGE(RADEON_RB3D_DSTCACHE_CTLSTAT, 1);
+ }
}
int r300_check_range(unsigned reg, int count)