Commit 5638b1cf authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

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

Set GC family for GC 12.0 IPs.

v2: squash in updates (Alex)
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 226e4ca5
...@@ -2518,6 +2518,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) ...@@ -2518,6 +2518,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 5, 1): case IP_VERSION(11, 5, 1):
adev->family = AMDGPU_FAMILY_GC_11_5_0; adev->family = AMDGPU_FAMILY_GC_11_5_0;
break; break;
case IP_VERSION(12, 0, 0):
case IP_VERSION(12, 0, 1):
adev->family = AMDGPU_FAMILY_GC_12_0_0;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment