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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:56:16 +0000 (11:56 -0400)
commit385857adb8154563840e5b0f200254126618f464
tree17b0905fc8e66320711336df83cf9f0a10b766e8
parentbc2fde42e2418808dbfc04de1a6da91d7d31cf1a
drm/amd/display: setting the DIG_MODE to the correct value.

[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>
drivers/gpu/drm/amd/display/dc/core/dc_link.c