[Intel-gfx] [PATCH 00/10] drm/edid: Infoframe cleanups and fixes
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Nov 13 17:04:17 UTC 2017
From: Ville Syrjälä <ville.syrjala at 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.sharma at intel.com>
Cc: Andrzej Hajda <a.hajda at samsung.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Cc: Hans Verkuil <hans.verkuil at cisco.com>
Cc: Jim Bride <jim.bride at linux.intel.com>
Cc: Jose Abreu <Jose.Abreu at synopsys.com>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: "Lin, Jia" <lin.a.jia at intel.com>
Cc: linux-media at vger.kernel.org
Cc: Sean Paul <seanpaul at chromium.org>
Cc: Shashank Sharma <shashank.sharma at intel.com>
Cc: Thierry Reding <thierry.reding at 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
More information about the Intel-gfx
mailing list