]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: fix linux dp link lost handled only one time
authorHersen Wu <hersenxs.wu@amd.com>
Tue, 17 Jan 2023 15:58:34 +0000 (10:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jan 2023 19:03:43 +0000 (14:03 -0500)
commite322843e5e33e72ff218d661f3d15ff9c9f2f1b5
tree6806a67937045572c4f28100cd26d993224839ef
parent4b0b4c17f5f6d4df40f2f79068909236858d61e0
drm/amd/display: fix linux dp link lost handled only one time

[Why]
linux amdgpu defer handle link lost irq. dm add handle
request to irq work queue for the first irq of link lost.
if link training fails for link lost handle, link will not
be enabled anymore.

[How]
allow adding handle request of link lost to work queue
before running dp link training for link lost.

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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/dc_link.h