Skip to content

Commit

Permalink
drm/i915: Clear the LVDS pipe B select bit when moving the LVDS to pi…
Browse files Browse the repository at this point in the history
…pe A.

Based on a patch by Zhao Yakui.

Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Eric Anholt committed Apr 12, 2010
1 parent 0f3ee80 commit d275f66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3306,6 +3306,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP;
if (pipe == 1)
lvds |= LVDS_PIPEB_SELECT;
else
lvds &= ~LVDS_PIPEB_SELECT;
/* set the corresponsding LVDS_BORDER bit */
lvds |= dev_priv->lvds_border_bits;
/* Set the B0-B3 data pairs corresponding to whether we're going to
Expand Down

0 comments on commit d275f66

Please sign in to comment.