From: Rex Zhu Date: Wed, 13 Dec 2017 09:39:07 +0000 (+0800) Subject: drm/amd/pp: reset dpm level when adjust power state X-Git-Tag: v4.19~1610^2~23^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebe0dce655b6d0b1adec54cd6feac9bf15af7fdf;p=platform%2Fkernel%2Flinux-rpi3.git drm/amd/pp: reset dpm level when adjust power state Acked-by: Alex Deucher Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c index ffa44bb..ab852b2 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c @@ -244,7 +244,7 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip, } phm_notify_smc_display_config_after_ps_adjustment(hwmgr); - + phm_force_dpm_levels(hwmgr, hwmgr->dpm_level); return 0; }