Skip to contentSkip to conversation

drm/i915: Set the VIC in AVI infoframe for SDVO

PATCH In review [email protected] 2 participants 2 messages Mar 20, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Set the VIC in AVI infoframe for SDVO

From: Ville Syrjälä <[email protected]>

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.

---
 drivers/gpu/drm/i915/intel_sdvo.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/intel_sdvo.c +2 -0
index 5300526..678c47c 100644
@@ -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
Signature · 6 lines
1.8.1.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 8 lines · On Wed, Mar 20, 2013 at 06:10:07PM +0200, [email protected] wrote:

From: Ville Syrjälä <[email protected]>

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.

Makes sense, and might fix the oddball sdvo hdmi fail we still have. Queued for -next, thanks for the patch.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch