drm/amdgpu: add new AMDGPU_FAMILY definition

add GC 11.5.0 family

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Prike Liang
2023-07-14 15:53:40 -04:00
committed by Alex Deucher
parent f56c1941eb
commit 2c8a7ca164
2 changed files with 5 additions and 0 deletions

View File

@@ -2359,6 +2359,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 0, 4):
adev->family = AMDGPU_FAMILY_GC_11_0_1;
break;
case IP_VERSION(11, 5, 0):
adev->family = AMDGPU_FAMILY_GC_11_5_0;
break;
default:
return -EINVAL;
}
@@ -2375,6 +2378,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 7):
case IP_VERSION(11, 0, 1):
case IP_VERSION(11, 0, 4):
case IP_VERSION(11, 5, 0):
adev->flags |= AMD_IS_APU;
break;
default: