From: Ville Syrjälä <ville.syrj...@linux.intel.com> 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.sha...@intel.com> Cc: Andrzej Hajda <a.ha...@samsung.com> Cc: Daniel Vetter <daniel.vet...@ffwll.ch> Cc: Emil Velikov <emil.l.veli...@gmail.com> Cc: Hans Verkuil <hans.verk...@cisco.com> Cc: Jim Bride <jim.br...@linux.intel.com> Cc: Jose Abreu <jose.ab...@synopsys.com> Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Cc: "Lin, Jia" <lin.a....@intel.com> Cc: linux-media@vger.kernel.org Cc: Sean Paul <seanp...@chromium.org> Cc: Shashank Sharma <shashank.sha...@intel.com> Cc: Thierry Reding <thierry.red...@gmail.com> 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