diff options
author | Roman Li <[email protected]> | 2021-04-19 11:47:00 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-05-10 18:06:44 -0400 |
commit | cf8b92a75646735136053ce51107bfa8cfc23191 (patch) | |
tree | 355f3c1e24fe1b30507dbaa3fc97b15274eeb111 /lib/mpi/mpi-cmp.c | |
parent | 2e4ec251628f6d43c1df5351d744b1aed4583ae4 (diff) |
drm/amd/display: fix potential gpu reset deadlock
[Why]
In gpu reset dc_lock acquired in dm_suspend().
Asynchronously handle_hpd_rx_irq can also be called
through amdgpu_dm_irq_suspend->flush_work, which also
tries to acquire dc_lock. That causes a deadlock.
[How]
Check if amdgpu executing reset before acquiring dc_lock.
Signed-off-by: Lang Yu <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Reviewed-by: Qingqing Zhuo <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions