libhsakmt: Add Aqua Vanjaram support

Add gfx version for VGPR size per CU calc, add FAMILY_AV to KfdFamilyId,
add blacklist filter to kfdtest.exclude.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I9b8072e45f4d497e0a8fd3f8f97f1425238e8b42


[ROCm/ROCR-Runtime commit: 6be4461a0d]
This commit is contained in:
Graham Sider
2022-05-06 15:03:41 -04:00
bovenliggende c758f24222
commit ea4e2a82bb
5 gewijzigde bestanden met toevoegingen van 13 en 1 verwijderingen
@@ -244,6 +244,13 @@ FILTER[aldebaran]=\
"KFDMemoryTest.PtraceAccess:"\
"KFDMemoryTest.DeviceHdpFlush"
FILTER[aqua_vanjaram]=\
"$BLACKLIST_ALL_ASICS:"\
"KFDExceptionTest.FaultStorm:"\
"KFDEvictTest.BurstyTest:"\
"KFDMemoryTest.PtraceAccess:"\
"KFDMemoryTest.DeviceHdpFlush"
FILTER[navi10]=\
"$BLACKLIST_ALL_ASICS:"\
"$BLACKLIST_GFX10:"\
@@ -60,6 +60,7 @@ enum KfdFamilyId {
FAMILY_RV, // Raven
FAMILY_AR, // Arcturus
FAMILY_AL, // Aldebaran
FAMILY_AV, // Aqua Vanjaram
FAMILY_NV, // Navi10
FAMILY_GFX11, // GFX11
};
@@ -188,7 +188,9 @@ unsigned int FamilyIdFromNode(const HsaNodeProperties *props) {
break;
case 9:
familyId = FAMILY_AI;
if (props->EngineId.ui32.Stepping == 2)
if (props->EngineId.ui32.Minor == 4)
familyId = FAMILY_AV;
else if (props->EngineId.ui32.Stepping == 2)
familyId = FAMILY_RV;
else if (props->EngineId.ui32.Stepping == 8)
familyId = FAMILY_AR;