r500: add allowed range for us config/pixsize
authorDave Airlie <airlied@redhat.com>
Mon, 5 May 2008 06:49:04 +0000 (16:49 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 May 2008 07:03:27 +0000 (17:03 +1000)
shared-core/r300_cmdbuf.c
shared-core/r300_reg.h

index 0a78901..e7149bd 100644 (file)
@@ -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 {
index 578e7e9..1fce352 100644 (file)
@@ -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* */