Update RGA backend to include gfx1035

This commit is contained in:
baldurk
2022-06-24 11:10:57 +01:00
parent a48591143a
commit 67920a37b4
3 changed files with 9 additions and 2 deletions
@@ -62,6 +62,7 @@ const GCNISA::asic GCNISA::asicInfo[] = {
{"RDNA2 (gfx1031)", "1031", FAMILY_NV, NV_NAVI22_P_A0, "gfx1031"},
{"RDNA2 (gfx1032)", "1032", FAMILY_NV, NV_NAVI23_P_A0, "gfx1032"},
{"RDNA2 (gfx1034)", "1034", FAMILY_NV, NV_NAVI24_P_A0, "gfx1034"},
{"RDNA2 (gfx1035)", "1035", FAMILY_RMB, REMBRANDT_A0, "gfx1035"},
};
RDCCOMPILE_ASSERT(ARRAY_COUNT(GCNISA::asicInfo) == GCNISA::asicCount, "Mismatched array count");
+1 -1
View File
@@ -36,7 +36,7 @@ struct asic
};
const int legacyAsicCount = 20;
const int asicCount = 30;
const int asicCount = 31;
extern const asic asicInfo[];
}; // namespace GCNISA
@@ -125,6 +125,11 @@ enum {
AI_UNKNOWN = 0xFF
};
enum
{
REMBRANDT_A0 = 1
};
#ifndef _ATIID_H
#define _ATIID_H
@@ -150,7 +155,8 @@ enum {
#define FAMILY_NV 143
#define FAMILY_RMB 146
#define ATI_VENDOR_ID 0x1002
#endif // _ATIID_H