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

Commit 812b1d2f authored by Bob Paauwe's avatar Bob Paauwe Committed by Ville Syrjälä
Browse files

drm/i915/bxt: Correct dual-link MIPI port control.



For BXT, there is only one bit that enables/disables dual-link mode
and not different bits depending on which pipe is being used.

Signed-off-by: default avatarBob Paauwe <bob.j.paauwe@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479767046-3964-1-git-send-email-bob.j.paauwe@intel.com


Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
parent 49845a23
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -476,6 +476,9 @@ static void intel_dsi_port_enable(struct intel_encoder *encoder)
		if (intel_dsi->ports == (BIT(PORT_A) | BIT(PORT_C))) {
			temp |= (intel_dsi->dual_link - 1)
						<< DUAL_LINK_MODE_SHIFT;
			if (IS_BROXTON(dev_priv))
				temp |= LANE_CONFIGURATION_DUAL_LINK_A;
			else
				temp |= intel_crtc->pipe ?
					LANE_CONFIGURATION_DUAL_LINK_B :
					LANE_CONFIGURATION_DUAL_LINK_A;