From: Feifei Xu Date: Fri, 20 Apr 2018 05:32:46 +0000 (+0800) Subject: drm/amdgpu/powerplay: Add initial vega20 support v2 X-Git-Tag: v5.15~8594^2~6^2~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3bfb6647cc66664f1e09706690444d2d09a56a8;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu/powerplay: Add initial vega20 support v2 Initial powerplay support the same as vega10 for now. Reviewed-by: Christian König Signed-off-by: Feifei Xu Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c index 71b4233..e63bc47 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c @@ -151,6 +151,7 @@ int hwmgr_early_init(struct pp_hwmgr *hwmgr) hwmgr->feature_mask &= ~PP_GFXOFF_MASK; switch (hwmgr->chip_id) { case CHIP_VEGA10: + case CHIP_VEGA20: hwmgr->smumgr_funcs = &vega10_smu_funcs; vega10_hwmgr_init(hwmgr); break;