diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-05 16:49:04 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-05 17:03:27 +1000 |
commit | d015219bd0b25f367be23e5df8355f479ee53a0f (patch) | |
tree | eff5607bd31c4856817b05a8817434a42a8c0c3c | |
parent | 3ac74f3208ed15a990a0a26742fbfe566f08aa80 (diff) |
r500: add allowed range for us config/pixsize
-rw-r--r-- | shared-core/r300_cmdbuf.c | 1 | ||||
-rw-r--r-- | shared-core/r300_reg.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/r300_cmdbuf.c b/shared-core/r300_cmdbuf.c index 0a789014..e7149bd9 100644 --- a/shared-core/r300_cmdbuf.c +++ b/shared-core/r300_cmdbuf.c @@ -235,6 +235,7 @@ void r300_init_reg_flags(struct drm_device *dev) ADD_RANGE(R300_VAP_INPUT_ROUTE_1_0, 8); if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_RV515) { + ADD_RANGE(R500_US_CONFIG, 2); ADD_RANGE(R500_RS_IP_0, 16); ADD_RANGE(R500_RS_INST_0, 16); } else { diff --git a/shared-core/r300_reg.h b/shared-core/r300_reg.h index 578e7e93..1fce3529 100644 --- a/shared-core/r300_reg.h +++ b/shared-core/r300_reg.h @@ -1632,6 +1632,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #define R500_RS_IP_0 0x4074 #define R500_RS_INST_0 0x4320 +#define R500_US_CONFIG 0x4600 + #endif /* _R300_REG_H */ /* *INDENT-ON* */ |