Commit 92fd2153 authored by Flora Cui's avatar Flora Cui Committed by Alex Deucher

drm/amdgpu: add soc21 support for GC 11.0.2

Add initial soc21 support.
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarFlora Cui <flora.cui@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d386f645
......@@ -547,6 +547,11 @@ static int soc21_common_early_init(void *handle)
AMD_PG_SUPPORT_MMHUB;
adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update
break;
case IP_VERSION(11, 0, 2):
adev->cg_flags = 0;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x10;
break;
default:
/* FIXME: not supported yet */
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