drm/amdgpu: add soc21 support for GC 11.0.2
Add initial soc21 support. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Flora Cui <flora.cui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d386f64588
commit
92fd215314
|
@ -547,6 +547,11 @@ static int soc21_common_early_init(void *handle)
|
||||||
AMD_PG_SUPPORT_MMHUB;
|
AMD_PG_SUPPORT_MMHUB;
|
||||||
adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update
|
adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update
|
||||||
break;
|
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:
|
default:
|
||||||
/* FIXME: not supported yet */
|
/* FIXME: not supported yet */
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue