aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2018-05-09 11:08:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-17 08:54:23 -0500
commit11a89b431e41dcfaa4e7b9806233f60de905287b (patch)
tree0b8db5c65013ded557ada20e24e4e40fd70883e2 /drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
parentdrm/amd/powerplay: new framework to honour DAL clock limits (diff)
downloadlinux-dev-11a89b431e41dcfaa4e7b9806233f60de905287b.tar.xz
linux-dev-11a89b431e41dcfaa4e7b9806233f60de905287b.zip
drm/amd/powerplay: add a framework for perfroming pre display
configuration change settings Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
index 2a2955c17d78..0af13c154328 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
@@ -272,6 +272,8 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip,
*/
phm_apply_clock_adjust_rules(hwmgr);
+ phm_pre_display_configuration_changed(hwmgr);
+
phm_display_configuration_changed(hwmgr);
if (hwmgr->ps)