OSDN Git Service

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>
Fri, 25 Oct 2019 20:50:07 +0000 (16:50 -0400)
commit967a3b85bac91c55eff740e61bf270c2732f48b2
tree3f2d0096e1c3a2151bf187e8288eddb0e5a2f2e8
parent0e04ad7d1857670944786a8465930a049aaf995f
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