提交 d275f661 编写于 作者: E Eric Anholt

drm/i915: Clear the LVDS pipe B select bit when moving the LVDS to pipe A.

Based on a patch by Zhao Yakui.
Signed-off-by: NEric Anholt <eric@anholt.net>
上级 0f3ee801
...@@ -3306,6 +3306,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, ...@@ -3306,6 +3306,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP;
if (pipe == 1) if (pipe == 1)
lvds |= LVDS_PIPEB_SELECT; lvds |= LVDS_PIPEB_SELECT;
else
lvds &= ~LVDS_PIPEB_SELECT;
/* set the corresponsding LVDS_BORDER bit */ /* set the corresponsding LVDS_BORDER bit */
lvds |= dev_priv->lvds_border_bits; lvds |= dev_priv->lvds_border_bits;
/* Set the B0-B3 data pairs corresponding to whether we're going to /* Set the B0-B3 data pairs corresponding to whether we're going to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册