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: NLang Yu <Lang.Yu@amd.com> Signed-off-by: NRoman Li <Roman.Li@amd.com> Reviewed-by: NQingqing Zhuo <Qingqing.Zhuo@amd.com> Acked-by: NWayne Lin <Wayne.Lin@amd.com> Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录