summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/sid.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2015-11-11 10:49:43 +0100
committerNicolai Hähnle <[email protected]>2015-11-25 15:28:03 +0100
commit9823048e0be36208e634d5e5fe81a1fcfb8ba89a (patch)
tree7f080b6528bdfa89c8e8b1bb3a4a0896932756cf /src/gallium/drivers/radeonsi/sid.h
parent1aa3b48c127dfa51d9bf5acf5e8efeda6483878b (diff)
radeonsi/sid: add hardware constants for COPY_DATA packet
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/sid.h')
-rw-r--r--src/gallium/drivers/radeonsi/sid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h
index c2e177dd7f9..4e03ceb7583 100644
--- a/src/gallium/drivers/radeonsi/sid.h
+++ b/src/gallium/drivers/radeonsi/sid.h
@@ -127,7 +127,10 @@
#define COPY_DATA_SRC_SEL(x) ((x) & 0xf)
#define COPY_DATA_REG 0
#define COPY_DATA_MEM 1
+#define COPY_DATA_PERF 4
+#define COPY_DATA_IMM 5
#define COPY_DATA_DST_SEL(x) (((x) & 0xf) << 8)
+#define COPY_DATA_COUNT_SEL (1 << 16)
#define COPY_DATA_WR_CONFIRM (1 << 20)
#define PKT3_SURFACE_SYNC 0x43 /* deprecated on CIK, use ACQUIRE_MEM */
#define PKT3_ME_INITIALIZE 0x44 /* not on CIK */