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/hardwaremanager.c | |
parent | 73aa1b9af5947f103913124f93ca19e6f3af1c1b (diff) | |
download | op-kernel-dev-11a89b431e41dcfaa4e7b9806233f60de905287b.zip op-kernel-dev-11a89b431e41dcfaa4e7b9806233f60de905287b.tar.gz |
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/hardwaremanager.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c index f5571e9f..a0bb921 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c @@ -170,6 +170,16 @@ int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr) return 0; } +int phm_pre_display_configuration_changed(struct pp_hwmgr *hwmgr) +{ + PHM_FUNC_CHECK(hwmgr); + + if (NULL != hwmgr->hwmgr_func->pre_display_config_changed) + hwmgr->hwmgr_func->pre_display_config_changed(hwmgr); + + return 0; + +} int phm_display_configuration_changed(struct pp_hwmgr *hwmgr) { |