aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-12-13 17:39:07 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-12-14 10:23:02 -0500
commitebe0dce655b6d0b1adec54cd6feac9bf15af7fdf (patch)
tree43479546a30915be84ec4bd7fe686da55c423fd8 /drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
parentdrm/ttm: init locked again to prevent incorrect unlock (diff)
downloadlinux-dev-ebe0dce655b6d0b1adec54cd6feac9bf15af7fdf.tar.xz
linux-dev-ebe0dce655b6d0b1adec54cd6feac9bf15af7fdf.zip
drm/amd/pp: reset dpm level when adjust power state
Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c2
1 files changed, 1 insertions, 1 deletions
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;
}