summaryrefslogtreecommitdiffstats
path: root/src/amd/common/amdgpu_id.h
diff options
context:
space:
mode:
authorJunwei Zhang <[email protected]>2016-12-19 13:51:25 -0500
committerAlex Deucher <[email protected]>2016-12-21 15:10:03 -0500
commit018ead426666d7d58517976e37f80f5de4a677cd (patch)
tree28b8ef757a91ac3dc69b385e4f8d9262923993e9 /src/amd/common/amdgpu_id.h
parent15c8f322cab5220e16b138c66930b824b72692f0 (diff)
radeonsi: add Polaris12 support (v3)
v2: use gfxip names for llvm 4.0+ v3: use tonga for llvm <= 3.8, drop gfxip name, we can just change that we change the other asics. Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Junwei Zhang <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/amd/common/amdgpu_id.h')
-rw-r--r--src/amd/common/amdgpu_id.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/amdgpu_id.h b/src/amd/common/amdgpu_id.h
index f91df55711a..1683a5a746c 100644
--- a/src/amd/common/amdgpu_id.h
+++ b/src/amd/common/amdgpu_id.h
@@ -142,6 +142,8 @@ enum {
VI_POLARIS11_M_A0 = 90,
+ VI_POLARIS12_V_A0 = 100,
+
VI_UNKNOWN = 0xFF
};
@@ -156,6 +158,8 @@ enum {
((eChipRev >= VI_POLARIS10_P_A0) && (eChipRev < VI_POLARIS11_M_A0))
#define ASICREV_IS_POLARIS11_M(eChipRev) \
(eChipRev >= VI_POLARIS11_M_A0)
+#define ASICREV_IS_POLARIS12_V(eChipRev)\
+ (eChipRev >= VI_POLARIS12_V_A0)
/* CZ specific rev IDs */
enum {