From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> This series tries to fix some issues with HDMI infoframes. In particular we can currently send a bogus picture aspect ratio in the infoframe. I included stuff to to make the infoframe unpakc more robust, evne though we don't (yet) use it in drm. Additionally I included my earlier "empty" HDMI infoframe support. I have further work piled up on top which allows us to precompuet the infoframes during the atomic check phase. But the series would have become rather big, so I wanted to post these fixes and cleanups first. Entire series (with the infoframe precompute) is available here: git://github.com/vsyrjala/linux.git infoframe_precompute Cc: Akashdeep Sharma <akashdeep.sharma@xxxxxxxxx> Cc: Andrzej Hajda <a.hajda@xxxxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Emil Velikov <emil.l.velikov@xxxxxxxxx> Cc: Hans Verkuil <hans.verkuil@xxxxxxxxx> Cc: Jim Bride <jim.bride@xxxxxxxxxxxxxxx> Cc: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx> Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Cc: "Lin, Jia" <lin.a.jia@xxxxxxxxx> Cc: linux-media@xxxxxxxxxxxxxxx Cc: Sean Paul <seanpaul@xxxxxxxxxxxx> Cc: Shashank Sharma <shashank.sharma@xxxxxxxxx> Cc: Thierry Reding <thierry.reding@xxxxxxxxx> Ville Syrjälä (10): video/hdmi: Allow "empty" HDMI infoframes drm/edid: Allow HDMI infoframe without VIC or S3D drm/modes: Introduce drm_mode_match() drm/edid: Use drm_mode_match_no_clocks_no_stereo() for consistentcy drm/edid: Fix up edid_cea_modes[] formatting drm/edid: Fix cea mode aspect ratio handling drm/edid: Don't send bogus aspect ratios in AVI infoframes video/hdmi: Reject illegal picture aspect ratios video/hdmi: Constify 'buffer' to the unpack functions video/hdmi: Pass buffer size to infoframe unpack functions drivers/gpu/drm/bridge/sil-sii8620.c | 3 +- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 +- drivers/gpu/drm/drm_edid.c | 159 +++++++++++++++++++----------- drivers/gpu/drm/drm_modes.c | 134 +++++++++++++++++++------ drivers/gpu/drm/exynos/exynos_hdmi.c | 2 +- drivers/gpu/drm/i915/intel_hdmi.c | 14 +-- drivers/gpu/drm/mediatek/mtk_hdmi.c | 3 +- drivers/gpu/drm/nouveau/nv50_display.c | 3 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 4 +- drivers/gpu/drm/zte/zx_hdmi.c | 1 + drivers/media/i2c/adv7511.c | 2 +- drivers/media/i2c/adv7604.c | 2 +- drivers/media/i2c/adv7842.c | 2 +- drivers/media/i2c/tc358743.c | 2 +- drivers/video/hdmi.c | 118 ++++++++++++++-------- include/drm/drm_connector.h | 5 + include/drm/drm_edid.h | 1 + include/drm/drm_modes.h | 9 ++ include/linux/hdmi.h | 3 +- 20 files changed, 326 insertions(+), 146 deletions(-) -- 2.13.6 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel