]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: add HF-EEODB support to EDID read and allocation
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Jun 2022 09:27:54 +0000 (12:27 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Jun 2022 07:51:10 +0000 (10:51 +0300)
commit7b3ab12f9a21eb495c1de9f43bab3d4a41268ede
tree1d2cb94032ed13d92fa640c157223bb916f77bd6
parent82d972edeea177394c208bd9b6483880c0d3c1b1
drm/edid: add HF-EEODB support to EDID read and allocation

HDMI 2.1 section 10.3.6 defines an HDMI Forum EDID Extension Override
Data Block, which may contain a different extension count than the base
block claims. Add support for reading more EDID data if available. The
extra blocks aren't parsed yet, though.

Hard-coding the EEODB parsing instead of using the iterators we have is
a bit of a bummer, but we have to be able to do this on a partially
allocated EDID while reading it.

v2:
- Check for CEA Data Block Collection size (Ville)
- Amend commit message and comment about hard-coded parsing

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/57b57a355d62eb91ad1e3cf555978576f2bd9fdd.1656494768.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c