Commit d3bfb664 authored by Feifei Xu's avatar Feifei Xu Committed by Alex Deucher

drm/amdgpu/powerplay: Add initial vega20 support v2

Initial powerplay support the same as vega10 for now.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a167ae25
...@@ -151,6 +151,7 @@ int hwmgr_early_init(struct pp_hwmgr *hwmgr) ...@@ -151,6 +151,7 @@ int hwmgr_early_init(struct pp_hwmgr *hwmgr)
hwmgr->feature_mask &= ~PP_GFXOFF_MASK; hwmgr->feature_mask &= ~PP_GFXOFF_MASK;
switch (hwmgr->chip_id) { switch (hwmgr->chip_id) {
case CHIP_VEGA10: case CHIP_VEGA10:
case CHIP_VEGA20:
hwmgr->smumgr_funcs = &vega10_smu_funcs; hwmgr->smumgr_funcs = &vega10_smu_funcs;
vega10_hwmgr_init(hwmgr); vega10_hwmgr_init(hwmgr);
break; break;
......
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