summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-31 10:50:51 +0100
committerMarek Olšák <[email protected]>2012-02-21 21:42:27 +0100
commitf126253040654d52db134063a69ebaf0c417d410 (patch)
treeca0e9657219824b5a54c797b16958142f1693d6c /src/gallium/drivers/r600/r600d.h
parent172bb92db1a3c317867d9cfec6f15c09c37a0f6c (diff)
r600g: turn init_config into a command buffer for starting a CS
This is the first pure command buffer. It contains CS initialization packets and emits invariant state (i.e. the registers which never or rarely change). The affected registers are removed from *_hw_context.c, so that both ways of emitting commands can co-exist. v2: emit context_control in cayman's start_cs too
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 3c3238a1242..40a0db0cf7c 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -36,9 +36,7 @@
#define EG_BOOL_CONST_OFFSET 0x0003A500
#define EG_BOOL_CONST_END 0x0003A506
-#define R600_CONFIG_REG_OFFSET 0X00008000
#define R600_CONFIG_REG_END 0X0000AC00
-#define R600_CONTEXT_REG_OFFSET 0X00028000
#define R600_CONTEXT_REG_END 0X00029000
#define R600_ALU_CONST_OFFSET 0X00030000
#define R600_ALU_CONST_END 0X00032000
@@ -158,7 +156,6 @@
#define PKT3_IT_OPCODE_C 0xFFFF00FF
#define PKT3_PRED_S(x) (((x) >> 0) & 0x1)
#define PKT0(index, count) (PKT_TYPE_S(0) | PKT0_BASE_INDEX_S(index) | PKT_COUNT_S(count))
-#define PKT3(op, count, predicate) (PKT_TYPE_S(3) | PKT3_IT_OPCODE_S(op) | PKT_COUNT_S(count) | PKT3_PRED_S(predicate))
/* Registers */
#define R_008490_CP_STRMOUT_CNTL 0x008490