diff options
author | Evan Quan <evan.quan@amd.com> | 2018-05-09 11:08:29 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-17 08:54:23 -0500 |
commit | 11a89b431e41dcfaa4e7b9806233f60de905287b (patch) | |
tree | 0b8db5c65013ded557ada20e24e4e40fd70883e2 /drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | |
parent | drm/amd/powerplay: new framework to honour DAL clock limits (diff) | |
download | linux-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.c | 2 |
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) |