summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_hdmi.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-05-04 17:18:19 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-08 14:04:21 +0200
commit3e6e63952f6f7a42c40751cd88295fd297b80a84 (patch)
tree0e12c1bb5d19cd0706e3e2d8bfdabf23421791a0 /drivers/gpu/drm/i915/intel_hdmi.c
parent1d4f85ac2d5ef1892deba2a3df8a5695645418c8 (diff)
downloadlinux-3e6e63952f6f7a42c40751cd88295fd297b80a84.tar.gz
linux-3e6e63952f6f7a42c40751cd88295fd297b80a84.tar.bz2
linux-3e6e63952f6f7a42c40751cd88295fd297b80a84.zip
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,
/* XXX first guess at handling video port, is this corrent? */
+ val &= ~VIDEO_DIP_PORT_MASK;
if (intel_hdmi->sdvox_reg == SDVOB)
val |= VIDEO_DIP_PORT_B;
else if (intel_hdmi->sdvox_reg == SDVOC)