]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Only one display lights up while using MST hub
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Mon, 23 Nov 2020 22:56:35 +0000 (17:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:04:26 +0000 (23:04 -0500)
commit3083a9845e1258ee8c2126d37f7b41897fad02e5
treedade698e633f20a8a429bda5bf2fe1b11511d54e
parent5a83bf80723dbc18d2f4d3949466bab216225c30
drm/amd/display: Only one display lights up while using MST hub

[Why]
With the addition of dc_lock acquire before dc_link_handle_hpd_rx_irq,
there will be a deadlock situation where commit state sends a request
for payload allocation on MST and wait for HPD to process DOWN_REP.

[How]
Move forward the MST message handling in handle_hpd_rx_irq so that
it will not rely on call to dc_link_handle_hpd_rx_irq.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc_link.h