Commit a85a64d3 authored by Zhan Liu's avatar Zhan Liu Committed by Alex Deucher
Browse files

Revert "drm/amd/display: setting the DIG_MODE to the correct value."



This reverts commit 385857ad.

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

Signed-off-by: default avatarZhan Liu <zhan.liu@amd.com>
Reviewed-by: default avatarHersen Wu <hersenxs.wu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f9686cee
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -2767,15 +2767,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) ||