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

Commit 57d277bb authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/i915: update FDI mPHY setup code



Bspec has been been updated and dropped these two changes for non-sdv
LPT PCHs.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 25ff1195
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -4958,13 +4958,6 @@ static void lpt_init_pch_refclk(struct drm_device *dev)
	tmp |= (0x12 << 24);
	intel_sbi_write(dev_priv, 0x8008, tmp, SBI_MPHY);

	if (!is_sdv) {
		tmp = intel_sbi_read(dev_priv, 0x808C, SBI_MPHY);
		tmp &= ~(0x3 << 6);
		tmp |= (1 << 6) | (1 << 0);
		intel_sbi_write(dev_priv, 0x808C, tmp, SBI_MPHY);
	}

	if (is_sdv) {
		tmp = intel_sbi_read(dev_priv, 0x800C, SBI_MPHY);
		tmp |= 0x7FFF;