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)
commit718a5569b6fa6e1f49f1ae76a3c18acb4ddb74f1
treee572cb9f5c4a823020b8794dfadc97c8ae85c72b
parent933fe2cbf234afcd92d26e233c45f206af147616
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