]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/i915: Set the VIC in AVI infoframe for SDVO
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Mar 2013 16:10:07 +0000 (18:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 23 Mar 2013 11:18:05 +0000 (12:18 +0100)
We do this for HDMI already, so I don't know why we wouldn't do
it for SDVO as well.

This is completely untested due to lack of hardware.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c

index 53005260cd1d8968a8e1ed33f38a31219fb45b77..678c47cac72b3f160bddc5ac4d1e66460cb3c779 100644 (file)
@@ -965,6 +965,8 @@ static bool intel_sdvo_set_avi_infoframe(struct intel_sdvo *intel_sdvo,
                        avi_if.body.avi.ITC_EC_Q_SC |= DIP_AVI_RGB_QUANT_RANGE_FULL;
        }
 
+       avi_if.body.avi.VIC = drm_match_cea_mode(adjusted_mode);
+
        intel_dip_infoframe_csum(&avi_if);
 
        /* sdvo spec says that the ecc is handled by the hw, and it looks like