r500: add two more register ranges for mesa driver to setup

This commit is contained in:
Dave Airlie 2008-05-23 09:39:54 +10:00
parent 74a9ea896e
commit 49075b678f
2 changed files with 5 additions and 0 deletions

View file

@ -241,6 +241,8 @@ void r300_init_reg_flags(struct drm_device *dev)
ADD_RANGE(R500_US_FC_CTRL, 1);
ADD_RANGE(R500_RS_IP_0, 16);
ADD_RANGE(R500_RS_INST_0, 16);
ADD_RANGE(R500_RB3D_COLOR_CLEAR_VALUE_AR, 2);
ADD_RANGE(R500_RB3D_CONSTANT_COLOR_AR, 2);
} else {
ADD_RANGE(R300_PFS_CNTL_0, 3);
ADD_RANGE(R300_PFS_NODE_0, 4);

View file

@ -1639,6 +1639,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define R500_US_FC_CTRL 0x4624
#define R500_US_CODE_ADDR 0x4630
#define R500_RB3D_COLOR_CLEAR_VALUE_AR 0x46c0
#define R500_RB3D_CONSTANT_COLOR_AR 0x4ef8
#endif /* _R300_REG_H */
/* *INDENT-ON* */