mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
drm/amdgpu: add initial GC 11.5.1 soc21 support
Disable clock gating and power gating for now. v2: squash in revision fix (Alex) Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
278318d371
commit
e971995657
1 changed files with 5 additions and 0 deletions
|
|
@ -717,6 +717,11 @@ static int soc21_common_early_init(void *handle)
|
||||||
AMD_PG_SUPPORT_GFX_PG;
|
AMD_PG_SUPPORT_GFX_PG;
|
||||||
adev->external_rev_id = adev->rev_id + 0x1;
|
adev->external_rev_id = adev->rev_id + 0x1;
|
||||||
break;
|
break;
|
||||||
|
case IP_VERSION(11, 5, 1):
|
||||||
|
adev->cg_flags = 0;
|
||||||
|
adev->pg_flags = 0;
|
||||||
|
adev->external_rev_id = adev->rev_id + 0xc1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* FIXME: not supported yet */
|
/* FIXME: not supported yet */
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue