Roman Li cf8b92a756 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 <Lang.Yu@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-10 18:06:44 -04:00
..
2021-04-08 12:47:47 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-23 10:32:14 +01:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-08 12:42:14 +10:00
2021-03-19 10:40:54 +01:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-03-16 17:08:46 +10:00
2021-04-13 23:15:09 +02:00
2021-03-25 08:23:28 -03:00
2021-03-24 17:05:14 +01:00
2021-04-13 23:15:09 +02:00
2021-04-09 16:42:09 -04:00
2021-01-04 12:59:33 +01:00
2021-03-16 17:08:46 +10:00
2020-09-21 10:45:08 +02:00
2021-01-07 13:40:20 +01:00
2021-03-16 17:08:46 +10:00
2021-03-18 14:22:50 +01:00
2021-03-23 23:25:21 -04:00