diff options
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/amdgpu_id.h | 11 |
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 */ |