r500: add allowed range for us config/pixsize

main
Dave Airlie 2008-05-05 16:49:04 +10:00
parent 3ac74f3208
commit d015219bd0
2 changed files with 3 additions and 0 deletions

View 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 {

View 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* */