]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: detect color formats and CTA revision in all CTA extensions
authorJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 10:52:42 +0000 (13:52 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 17:28:42 +0000 (20:28 +0300)
commit48e454f496bf308e96ac1e15bbe16499ce97e253
tree010c5b80e067d7ac7c6f0e3e2ca7d79f6065ad7a
parentc183a32d578013b59bc4536fe90a87dfd13e9084
drm/edid: detect color formats and CTA revision in all CTA extensions

Convert drm_find_cea_extension() to EDID block iterator in color format
and CTA revision detection. Detect them in all CTA extensions.

Also parse CTA Data Blocks in DisplayID even if there's no CTA EDID
extension.

v2:
- Don't assume DRM_COLOR_FORMAT_RGB444 support if there's only DisplayID
  CTA Data Blocks (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
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/20220505105242.1198521-1-jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c