drm/amd/powerplay: fix deadlock around smu_handle_task
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: fix deadlock around smu_handle_task
As the lock was already held on the entrance to smu_handle_task.
Change-Id I5388aa917ef0e330974e26c59db42d1354b6a865
Signed-off-by Evan Quan <[email protected]>
--- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/powerplay/smu_v11_0.c +0 -2
@@ -1311,10 +1311,8 @@ smu_v11_0_display_clock_voltage_request(struct smu_context *smu,if (ret) goto failed; -mutex_lock (&smu->mutex); ret =smu_send_smc_msg_with_param (smu, SMU_MSG_SetHardMinByFreq, (smu_clk_get_index (smu, clk_select) <<16 ) | clk_freq); -mutex_unlock (&smu->mutex); } failed:
Signature · 6 lines
2.21.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx