summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-08-24 23:46:46 +0200
committerMarek Olšák <[email protected]>2017-08-28 21:45:33 +0200
commit39205f216e5912df5f6ae9c4ded1a812a19929dd (patch)
treec7e751d306304c3dcecdaa77d9503932a6ac2477 /src/amd
parent61187c1689bcd0498644705a8deaf6d0244866f3 (diff)
gallium/radeon: set EVENT_WRITE_EOP.INT_SEL = wait for write confirmation
Ported from Vulkan. Not sure what this is good for.. maybe write confirmation from L2 flushes? Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/r600d_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/r600d_common.h b/src/amd/common/r600d_common.h
index 57757469e52..76c5c4f5f9b 100644
--- a/src/amd/common/r600d_common.h
+++ b/src/amd/common/r600d_common.h
@@ -67,6 +67,9 @@
#define COPY_DATA_WR_CONFIRM (1 << 20)
#define PKT3_EVENT_WRITE 0x46
#define PKT3_EVENT_WRITE_EOP 0x47
+#define EOP_INT_SEL(x) ((x) << 24)
+#define EOP_INT_SEL_NONE 0
+#define EOP_INT_SEL_SEND_DATA_AFTER_WR_CONFIRM 3
#define EOP_DATA_SEL(x) ((x) << 29)
#define EOP_DATA_SEL_DISCARD 0
#define EOP_DATA_SEL_VALUE_32BIT 1