summaryrefslogtreecommitdiffstats
path: root/src/amd/common/amdgpu_id.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-10-06 18:55:25 +0200
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit7f160efcde41b52ad78e562316384373dab419e3 (patch)
tree1899e86201ade316e50ae8538f3e9c53262a5906 /src/amd/common/amdgpu_id.h
parent047d6daf10f9ca8fc37ad32f00b3bbf926ba9e9d (diff)
amd/addrlib: import gfx9 support
Diffstat (limited to 'src/amd/common/amdgpu_id.h')
-rw-r--r--src/amd/common/amdgpu_id.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/amd/common/amdgpu_id.h b/src/amd/common/amdgpu_id.h
index 1ecae1ae783..316b30ffa38 100644
--- a/src/amd/common/amdgpu_id.h
+++ b/src/amd/common/amdgpu_id.h
@@ -48,6 +48,7 @@ enum {
FAMILY_VI,
FAMILY_CZ,
FAMILY_PI,
+ FAMILY_AI,
FAMILY_LAST,
};
@@ -174,4 +175,14 @@ enum {
#define ASICREV_IS_STONEY(eChipRev) \
((eChipRev >= STONEY_A0) && (eChipRev < CZ_UNKNOWN))
+/* AI specific rev IDs */
+enum {
+ AI_VEGA10_P_A0 = 0x01,
+
+ AI_UNKNOWN = 0xFF
+};
+
+#define ASICREV_IS_VEGA10_P(eChipRev) \
+ ((eChipRev) >= AI_VEGA10_P_A0 && (eChipRev) < AI_UNKNOWN)
+
#endif /* AMDGPU_ID_H */