drm/amdgpu/discovery: Set GC family for GC 11.0 IP

Set GC family for GC 11.0 IPs.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Likun Gao 2022-04-04 16:45:16 -04:00 committed by Alex Deucher
parent 5eca8379c7
commit 7d33614285
1 changed files with 3 additions and 0 deletions

View File

@ -2090,6 +2090,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 7):
adev->family = AMDGPU_FAMILY_GC_10_3_7;
break;
case IP_VERSION(11, 0, 0):
adev->family = AMDGPU_FAMILY_GC_11_0_0;
break;
default:
return -EINVAL;
}