summaryrefslogtreecommitdiff
path: root/src/r600_reg.h
diff options
context:
space:
mode:
authorCédric Cano <ccano@interfaceconcept.com>2011-02-11 17:00:31 -0500
committerAlex Deucher <alexdeucher@gmail.com>2011-02-11 17:01:22 -0500
commit48ffad957f1dbca909515ffa00629f4caa68706b (patch)
treeadbacd11cdad75aefcacdb234388892e849be7a7 /src/r600_reg.h
parent151b22bd7c3b1002a7261538611fb2b468815c86 (diff)
kms: 6xx/7xx big endian accel support
agd5f: minor cleanups Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/r600_reg.h')
-rw-r--r--src/r600_reg.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/r600_reg.h b/src/r600_reg.h
index 937926ba..95c924f5 100644
--- a/src/r600_reg.h
+++ b/src/r600_reg.h
@@ -117,16 +117,19 @@ enum {
/* IT_WAIT_REG_MEM operation encoding */
-#define IT_WAIT_ALWAYS (0<<0)
-#define IT_WAIT_LT (1<<0)
-#define IT_WAIT_LE (2<<0)
-#define IT_WAIT_EQ (3<<0)
-#define IT_WAIT_NE (4<<0)
-#define IT_WAIT_GE (5<<0)
-#define IT_WAIT_GT (6<<0)
-#define IT_WAIT_REG (0<<4)
-#define IT_WAIT_MEM (1<<4)
+#define IT_WAIT_ALWAYS (0 << 0)
+#define IT_WAIT_LT (1 << 0)
+#define IT_WAIT_LE (2 << 0)
+#define IT_WAIT_EQ (3 << 0)
+#define IT_WAIT_NE (4 << 0)
+#define IT_WAIT_GE (5 << 0)
+#define IT_WAIT_GT (6 << 0)
+#define IT_WAIT_REG (0 << 4)
+#define IT_WAIT_MEM (1 << 4)
#define IT_WAIT_ADDR(x) ((x) >> 2)
+/* IT_INDEX_TYPE */
+#define IT_INDEX_TYPE_SWAP_MODE(x) ((x) << 2)
+
#endif