radeonsi/sid: add hardware constants for COPY_DATA packet
authorNicolai Hähnle <nhaehnle@gmail.com>
Wed, 11 Nov 2015 09:49:43 +0000 (10:49 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 25 Nov 2015 14:28:03 +0000 (15:28 +0100)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/sid.h

index c2e177dd7f9bd69219b1f9506d21aa4f83e4929c..4e03ceb758368a2a350cde34422eca8487c6bcdf 100644 (file)
 #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 */