diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-03-29 10:45:59 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-04-01 14:08:32 (GMT) |
commit | e0c771637f5a4713a99abac79bcff5d743047328 (patch) | |
tree | 9a434e36df0a36e6dacade5594836c5fd9a22b99 /drivers/gpu | |
parent | bbe6aa9953b2cef7f3a060e8b543a2271d0d5014 (diff) | |
download | linux-e0c771637f5a4713a99abac79bcff5d743047328.tar.xz |
drm/amd/powerplay: Need to change boot to performance state in resume.
Fixes slow performance on resume.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c b/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c index 6b52c78..56856a2 100644 --- a/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c +++ b/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c @@ -137,14 +137,14 @@ static const pem_event_action *resume_event[] = { reset_display_configCounter_tasks, update_dal_configuration_tasks, vari_bright_resume_tasks, - block_adjust_power_state_tasks, setup_asic_tasks, enable_stutter_mode_tasks, /*must do this in boot state and before SMC is started */ enable_dynamic_state_management_tasks, enable_clock_power_gatings_tasks, enable_disable_bapm_tasks, initialize_thermal_controller_tasks, - reset_boot_state_tasks, + get_2d_performance_state_tasks, + set_performance_state_tasks, adjust_power_state_tasks, enable_disable_fps_tasks, notify_hw_power_source_tasks, |