Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/powerplay: remove enable_clock_power_gatings_tasks from initialize and resume events

Setting PG state this early would cause lock ups in the IP block
initialized functions.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tom St Denis and committed by
Alex Deucher
d4ccb71d 1ddeb625

-2
-2
drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c
··· 30 30 system_config_tasks, 31 31 setup_asic_tasks, 32 32 enable_dynamic_state_management_tasks, 33 - enable_clock_power_gatings_tasks, 34 33 get_2d_performance_state_tasks, 35 34 set_performance_state_tasks, 36 35 initialize_thermal_controller_tasks, ··· 139 140 setup_asic_tasks, 140 141 enable_stutter_mode_tasks, /*must do this in boot state and before SMC is started */ 141 142 enable_dynamic_state_management_tasks, 142 - enable_clock_power_gatings_tasks, 143 143 enable_disable_bapm_tasks, 144 144 initialize_thermal_controller_tasks, 145 145 get_2d_performance_state_tasks,