From ebe0dce655b6d0b1adec54cd6feac9bf15af7fdf Mon Sep 17 00:00:00 2001 From: Rex Zhu Date: Wed, 13 Dec 2017 17:39:07 +0800 Subject: [PATCH] drm/amd/pp: reset dpm level when adjust power state Acked-by: Alex Deucher Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c index ffa44bbb218e..ab852b2cdf54 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; } -- 2.30.2