From eb8f9b9da4d34b9bfa16dc3847e81976a12d2d0c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 14 Aug 2008 14:41:15 +1000 Subject: radeon: add copy/solid regs for rn50 --- shared-core/r300_cmdbuf.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v1.2.3