]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "drm/amd/display: setting the DIG_MODE to the correct value."
authorZhan Liu <Zhan.Liu@amd.com>
Mon, 4 Nov 2019 19:46:56 +0000 (15:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:47 +0000 (16:27 -0500)
This reverts commit 9c7808fc8fd76d8aa0ad654eafe725fcd596f3ad.

Reason for revert: Root cause of this issue is found. The workaround is not needed anymore.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index cc94c1a73daa0cffecc0c5acc821b8a940a1a3e9..12ba6fdf89b73213dceed7ee0f925a2e79fd11ae 100644 (file)
@@ -3027,15 +3027,6 @@ void core_link_enable_stream(
                                        CONTROLLER_DP_TEST_PATTERN_VIDEOMODE,
                                        COLOR_DEPTH_UNDEFINED);
 
-               /* This second call is needed to reconfigure the DIG
-                * as a workaround for the incorrect value being applied
-                * from transmitter control.
-                */
-               if (!dc_is_virtual_signal(pipe_ctx->stream->signal))
-                       stream->link->link_enc->funcs->setup(
-                               stream->link->link_enc,
-                               pipe_ctx->stream->signal);
-
 #ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT
                if (pipe_ctx->stream->timing.flags.DSC) {
                        if (dc_is_dp_signal(pipe_ctx->stream->signal) ||