drm/amd/display: setting the DIG_MODE to the correct value.
authorZhan liu <zhan.liu@amd.com>
Thu, 17 Oct 2019 18:55:56 +0000 (14:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:44:22 +0000 (16:44 +0100)
commit12d29ebf6baa876c4de5ebc0c23ddec0787482b0
treebbe0b4a68c3c3e72e81a8046a7b45044b31ab4ef
parented3b3838130d702d266cc0e72564c9cf686d329f
drm/amd/display: setting the DIG_MODE to the correct value.

[ Upstream commit 967a3b85bac91c55eff740e61bf270c2732f48b2 ]

[Why]
This patch is for fixing Navi14 HDMI display pink screen issue.

[How]
Call stream->link->link_enc->funcs->setup twice. This is setting
the DIG_MODE to the correct value after having been overridden by
the call to transmitter control.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/core/dc_link.c