projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dff806
)
radeon: add copy/solid regs for rn50
author
Dave Airlie
<airlied@redhat.com>
Thu, 14 Aug 2008 04:41:15 +0000
(14:41 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 14 Aug 2008 04:41:15 +0000
(14:41 +1000)
shared-core/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/shared-core/r300_cmdbuf.c
b/shared-core/r300_cmdbuf.c
index 53961fc744fa5b91f587a87e8c65147d6c6873fe..725829b200c9362413e545fac93eef1d1ac18631 100644
(file)
--- 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)