Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8088699f authored by Jesse Barnes's avatar Jesse Barnes Committed by Chris Wilson
Browse files

drm/i915: don't program FDI RX/TX in mode_set



We do this later (and more properly) when we enable FDI, so we don't
need to do it here.

Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 17f6766c
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -4140,27 +4140,6 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,

		if (has_edp_encoder && !intel_encoder_is_pch_edp(&has_edp_encoder->base)) {
			ironlake_set_pll_edp(crtc, adjusted_mode->clock);
		} else {
			/* enable FDI RX PLL too */
			reg = FDI_RX_CTL(pipe);
			temp = I915_READ(reg);
			I915_WRITE(reg, temp | FDI_RX_PLL_ENABLE);

			POSTING_READ(reg);
			udelay(200);

			/* enable FDI TX PLL too */
			reg = FDI_TX_CTL(pipe);
			temp = I915_READ(reg);
			I915_WRITE(reg, temp | FDI_TX_PLL_ENABLE);

			/* enable FDI RX PCDCLK */
			reg = FDI_RX_CTL(pipe);
			temp = I915_READ(reg);
			I915_WRITE(reg, temp | FDI_PCDCLK);

			POSTING_READ(reg);
			udelay(200);
		}
	}