summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/r300_reg.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-06-11 09:33:02 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-06-11 09:33:02 +0000
commitb7812bf00b0f25ded04d672bea4560ecc82d0205 (patch)
treec7776caccabe950dc067b353a95a971f61d4b607 /sys/dev/pci/drm/r300_reg.h
parent8927c8c78649edba50d3f9e787282537ef3b5be2 (diff)
Update to DRM git as of a few days ago. This mostly affects the
card-specific files with a few minor changes elsewhere. The main change to the OpenBSD specific stuff is the change to the irq api due to the vblank rework. 4 more large bugs known, I have a fix for one. Tested by many. prompted by deraadt@.
Diffstat (limited to 'sys/dev/pci/drm/r300_reg.h')
-rw-r--r--sys/dev/pci/drm/r300_reg.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/r300_reg.h b/sys/dev/pci/drm/r300_reg.h
index 29198c8a240..0be01fc7451 100644
--- a/sys/dev/pci/drm/r300_reg.h
+++ b/sys/dev/pci/drm/r300_reg.h
@@ -1349,7 +1349,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/* Guess by Vladimir.
* Set to 0A before 3D operations, set to 02 afterwards.
*/
-#define R300_RB3D_DSTCACHE_CTLSTAT 0x4E4C
+/*#define R300_RB3D_DSTCACHE_CTLSTAT 0x4E4C*/
# define R300_RB3D_DSTCACHE_UNKNOWN_02 0x00000002
# define R300_RB3D_DSTCACHE_UNKNOWN_0A 0x0000000A
@@ -1626,6 +1626,22 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define R300_CP_CMD_BITBLT_MULTI 0xC0009B00
+#define R500_VAP_INDEX_OFFSET 0x208c
+
+#define R500_GA_US_VECTOR_INDEX 0x4250
+#define R500_GA_US_VECTOR_DATA 0x4254
+
+#define R500_RS_IP_0 0x4074
+#define R500_RS_INST_0 0x4320
+
+#define R500_US_CONFIG 0x4600
+
+#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* */