drm/i915: enable HDMI mode on VLV when an HDMI sink is detected
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 2 Apr 2014 17:08:53 +0000 (10:08 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 12:47:34 +0000 (14:47 +0200)
Allows sending of the null packets for conformance.

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 3b804fcb16727702ef8958581773e8f6a0a89ae7..fb9839b0effac4e925774eb250d06508c3b959ec 100644 (file)
@@ -650,8 +650,8 @@ static void intel_hdmi_mode_set(struct intel_encoder *encoder)
        else
                hdmi_val |= SDVO_COLOR_FORMAT_8bpc;
 
-       /* Required on CPT */
-       if (intel_hdmi->has_hdmi_sink && HAS_PCH_CPT(dev))
+       if (intel_hdmi->has_hdmi_sink &&
+           (HAS_PCH_CPT(dev) || IS_VALLEYVIEW(dev)))
                hdmi_val |= HDMI_MODE_SELECT_HDMI;
 
        if (intel_hdmi->has_audio) {