With SMU7 using case statements, against vega10/20 only checking for the CUSTOM profile, SMU7 can't set the power profile back to the BOOTUP_DEFAULT, while newer HWMGRs can. Add the case statement in to align functionality with other ASICs Change-Id: Ibc7df3b94b1a9dabcb88934e534c91209fc75967 Signed-off-by: Kent Russell <kent.russell@xxxxxxx> --- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c index 74d55b8fb74e..7c3eae2a34b4 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c @@ -5005,6 +5005,7 @@ static int smu7_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint hwmgr->power_profile_mode = mode; } break; + case PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT: case PP_SMC_POWER_PROFILE_FULLSCREEN3D: case PP_SMC_POWER_PROFILE_POWERSAVING: case PP_SMC_POWER_PROFILE_VIDEO: -- 2.17.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx