Skip to content

Commit 6a929fe

Browse files
Hawking Zhangalexdeucher
authored andcommitted
drm/amdgpu: add common early init support for GC 9.4.3
init asic funcs and cp/pg flags for GC 9.4.3 Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <Le.Ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent de7511a commit 6a929fe

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/soc15.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,11 @@ static int soc15_common_early_init(void *handle)
11001100
adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
11011101
adev->external_rev_id = adev->rev_id + 0x3c;
11021102
break;
1103+
case IP_VERSION(9, 4, 3):
1104+
adev->asic_funcs = &vega20_asic_funcs;
1105+
adev->cg_flags = 0;
1106+
adev->pg_flags = 0;
1107+
break;
11031108
default:
11041109
/* FIXME: not supported yet */
11051110
return -EINVAL;

0 commit comments

Comments
 (0)