drm/i915/vlv: disable AVI infoframe emission when writing infoframes
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 2 Apr 2014 17:08:52 +0000 (10:08 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 12:47:13 +0000 (14:47 +0200)
We also do a disable later when we write a specific infoframe, but here
we do it to prevent sending a stale one before updating the infoframes.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c

index ee892a4f90905fc4f2072fe08302d51b4a737046..3b804fcb16727702ef8958581773e8f6a0a89ae7 100644 (file)
@@ -589,8 +589,8 @@ static void vlv_set_infoframes(struct drm_encoder *encoder,
        }
 
        val |= VIDEO_DIP_ENABLE;
-       val &= ~(VIDEO_DIP_ENABLE_VENDOR | VIDEO_DIP_ENABLE_GAMUT |
-                VIDEO_DIP_ENABLE_GCP);
+       val &= ~(VIDEO_DIP_ENABLE_AVI | VIDEO_DIP_ENABLE_VENDOR |
+                VIDEO_DIP_ENABLE_GAMUT | VIDEO_DIP_ENABLE_GCP);
 
        I915_WRITE(reg, val);
        POSTING_READ(reg);