linux/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
amdgpu_dm_color.c drm/amd/display/amdgpu_dm/amdgpu_dm_color: Demote a misuse and fix another kernel-doc header 2020-12-01 16:04:45 -05:00
amdgpu_dm_crc.c drm/amd/display: use MST downstream AUX to dump DPRX CRCs 2021-04-09 16:51:35 -04:00
amdgpu_dm_crc.h drm/amd/display: Use PSP TA to read out crc 2021-03-05 15:12:09 -05:00
amdgpu_dm_debugfs.c drm/amd/display: fix wrong statement in mst hpd debugfs 2021-04-28 23:35:50 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_hdcp.c drm/amd/display: update hdcp display using correct CP type. 2021-04-20 21:37:28 -04:00
amdgpu_dm_hdcp.h drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_helpers.c drm/amd/display: add helper for enabling mst stream features 2021-04-20 21:42:53 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_irq.c drm/amd/display: Deallocate IRQ handlers on amdgpu_dm_irq_fini 2021-04-09 16:41:12 -04:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect() 2021-04-23 17:19:22 -04:00
amdgpu_dm_mst_types.h drm/amdgpu/display: create fake mst encoders ahead of time (v4) 2020-07-14 15:11:07 -04:00
amdgpu_dm_pp_smu.c drm/amd/pm: make DAL communicate with SMU through unified interfaces 2021-04-09 16:42:37 -04:00
amdgpu_dm_services.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
amdgpu_dm_trace.h drm/amd/display: Add refresh rate trace 2021-04-09 16:47:57 -04:00
amdgpu_dm.c drm/amd/display: fix potential gpu reset deadlock 2021-05-10 18:06:44 -04:00
amdgpu_dm.h drm/amdgpu/display: add documentation for dmcub_trace_event_en 2021-05-10 18:06:42 -04:00
Makefile