drm/i915: ibx_write_infoframe can disable AVI
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 4 May 2012 20:18:25 +0000 (17:18 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 May 2012 12:23:44 +0000 (14:23 +0200)
IBX does not need the workaround used in cpt_write_infoframe that
requires the AVI frame to be enabled while being updated.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c

index e65ebc2d3ad909ecff532240f707a756c0234db2..539073ec56bd63ddb609eebdf850387383e93ce4 100644 (file)
@@ -187,13 +187,7 @@ static void ibx_write_infoframe(struct drm_encoder *encoder,
        val &= ~(VIDEO_DIP_SELECT_MASK | 0xf); /* clear DIP data offset */
        val |= intel_infoframe_index(frame);
 
-       /* The DIP control register spec says that we need to update the AVI
-        * infoframe without clearing its enable bit */
-       if (frame->type == DIP_TYPE_AVI)
-               val |= VIDEO_DIP_ENABLE_AVI;
-       else
-               val &= ~intel_infoframe_enable(frame);
-
+       val &= ~intel_infoframe_enable(frame);
        val |= VIDEO_DIP_ENABLE;
 
        I915_WRITE(reg, val);
This page took 0.02683 seconds and 5 git commands to generate.