aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_hdmi.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-05-04 16:18:19 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-08 08:04:21 -0400
commit3e6e63952f6f7a42c40751cd88295fd297b80a84 (patch)
tree0e12c1bb5d19cd0706e3e2d8bfdabf23421791a0 /drivers/gpu/drm/i915/intel_hdmi.c
parent1d4f85ac2d5ef1892deba2a3df8a5695645418c8 (diff)
drm/i915: mask the video DIP port select
Should prevent bugs when changing the port. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
-rw-r--r--drivers/gpu/drm/i915/intel_hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index af88313d72d0..952eaf777ac5 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -125,6 +125,7 @@ static void i9xx_write_infoframe(struct drm_encoder *encoder,
125 125
126 126
127 /* XXX first guess at handling video port, is this corrent? */ 127 /* XXX first guess at handling video port, is this corrent? */
128 val &= ~VIDEO_DIP_PORT_MASK;
128 if (intel_hdmi->sdvox_reg == SDVOB) 129 if (intel_hdmi->sdvox_reg == SDVOB)
129 val |= VIDEO_DIP_PORT_B; 130 val |= VIDEO_DIP_PORT_B;
130 else if (intel_hdmi->sdvox_reg == SDVOC) 131 else if (intel_hdmi->sdvox_reg == SDVOC)