summaryrefslogtreecommitdiffstats
path: root/src/amd/common/sid.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-02 20:33:06 -0400
committerMarek Olšák <[email protected]>2018-08-29 15:31:41 -0400
commit0c5429cc73f6d1787914fcebb4cb95677c8ebb82 (patch)
tree272edc977551085b6e8b2ab2da92bc7d83b5bafb /src/amd/common/sid.h
parent8f6e06d1608bff31165511787a06da8c635e6da0 (diff)
radeonsi: add flag L2_STREAM for minimal cache usage
Diffstat (limited to 'src/amd/common/sid.h')
-rw-r--r--src/amd/common/sid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h
index 0671f7d3998..d9c4a1a7414 100644
--- a/src/amd/common/sid.h
+++ b/src/amd/common/sid.h
@@ -294,11 +294,13 @@
#define V_500_GDS 1 /* program SAS to 1 as well */
#define V_500_DATA 2
#define V_500_SRC_ADDR_TC_L2 3 /* new for CIK */
+#define S_500_DST_CACHE_POLICY(x) (((unsigned)(x) & 0x3) << 25) /* CIK+ */
#define S_500_DST_SEL(x) (((unsigned)(x) & 0x3) << 20)
#define V_500_DST_ADDR 0
#define V_500_GDS 1 /* program DAS to 1 as well */
#define V_500_NOWHERE 2 /* new for GFX9 */
#define V_500_DST_ADDR_TC_L2 3 /* new for CIK */
+#define S_500_SRC_CACHE_POLICY(x) (((unsigned)(x) & 0x3) << 13) /* CIK+ */
#define S_500_ENGINE(x) ((x) & 0x1)
#define V_500_ME 0
#define V_500_PFP 1