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>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit422d9091f7be46b0d38c562a5750195af832370a
tree3280ced51d88f6ccf1a65f7b68ea94a95179dfb4
parent967727021e75f6c1d9972d5a87f759155f935d75
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