summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-07-28 17:27:24 +1000
committerDave Airlie <airlied@redhat.com>2008-07-28 17:27:24 +1000
commitdc3a7c023dd089150ee2dc40755fde348252bedb (patch)
tree42140ff8538b0b735db4b85383bb5d53a6e6f3f2 /linux-core
parent38835f9cd2b44cfb6587a52ba1bfe292b958d0e1 (diff)
r300: initial command stream parser for packet 0.
this at least parses the DDX stream and lets me run gnome-terminal/metacity
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/radeon_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/radeon_reg.h b/linux-core/radeon_reg.h
index a5be6a63..784b3b50 100644
--- a/linux-core/radeon_reg.h
+++ b/linux-core/radeon_reg.h
@@ -3125,6 +3125,7 @@
# define RADEON_CP_PACKET_COUNT_MASK 0x3fff0000
# define RADEON_CP_PACKET_MAX_DWORDS (1 << 12)
# define RADEON_CP_PACKET0_REG_MASK 0x000007ff
+# define R300_CP_PACKET0_REG_MASK 0x00001fff
# define RADEON_CP_PACKET1_REG0_MASK 0x000007ff
# define RADEON_CP_PACKET1_REG1_MASK 0x003ff800