mirror_ubuntu-kernels/drivers/gpu/drm/amd
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
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: remove excess function parameter 2021-05-10 18:06:44 -04:00
amdkfd drm/amdkfd: Make svm_migrate_put_sys_page static 2021-05-10 18:06:44 -04:00
display drm/amd/display: fix potential gpu reset deadlock 2021-05-10 18:06:44 -04:00
include drm/amdgpu: only harvest gcea/mmea error status in arcturus 2021-04-20 21:35:45 -04:00
pm drm/amd/pm/powerplay/hwmgr: Fix kernel-doc syntax in documentation 2021-05-10 18:06:42 -04:00