]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: blank dp stream before re-train the link
authorXiaodong Yan <Xiaodong.Yan@amd.com>
Thu, 9 Apr 2020 09:37:40 +0000 (17:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2020 13:41:31 +0000 (09:41 -0400)
commit67e4941a4a006306ccba8f0611626ad0edb6b274
treee572cb9f5c4a823020b8794dfadc97c8ae85c72b
parent820ad37627c68345426a2c163b9839e3bca6df60
drm/amd/display: blank dp stream before re-train the link

[Why]
When link loss happened, monitor can not light up if only re-train the
link.

[How]
Blank all the DP streams on this link before re-train the link, and then
unblank the stream

Signed-off-by: Xiaodong Yan <Xiaodong.Yan@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c