summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_reg.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-21 23:12:40 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:25 -0800
commit7d63ff93cbf0f342c3736f4c8fae75157a62f0ea (patch)
tree77a7d901268bc8500bcc35b48c9ce367407c9e53 /src/gallium/drivers/r300/r300_reg.h
parent22877265f4fdf66c75df391d6de95bd5c1584ea3 (diff)
r300: Unbreak build, finish clear state.
Completely untested, of course.
Diffstat (limited to 'src/gallium/drivers/r300/r300_reg.h')
-rw-r--r--src/gallium/drivers/r300/r300_reg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_reg.h b/src/gallium/drivers/r300/r300_reg.h
index 8b3fe431ab..7f4a508b1b 100644
--- a/src/gallium/drivers/r300/r300_reg.h
+++ b/src/gallium/drivers/r300/r300_reg.h
@@ -3252,6 +3252,18 @@ enum {
*/
#define R300_CP_CMD_BITBLT_MULTI 0xC0009B00
+/* XXX Corbin's stuff from radeon and r200 */
+
+#define RADEON_WAIT_UNTIL 0x1720
+# define RADEON_WAIT_CRTC_PFLIP (1 << 0)
+# define RADEON_WAIT_2D_IDLECLEAN (1 << 16)
+# define RADEON_WAIT_3D_IDLECLEAN (1 << 17)
+# define RADEON_WAIT_HOST_IDLECLEAN (1 << 18)
+
+#define RADEON_CP_PACKET3 0xC0000000
+
+#define R200_3D_DRAW_IMMD_2 0xC0003500
+
#endif /* _R300_REG_H */
/* *INDENT-ON* */