drm/edid: sunset drm_find_cea_extension()
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 May 2022 09:24:05 +0000 (12:24 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 17:28:54 +0000 (20:28 +0300)
commit6ff1c19f5f28dbc396462032dcbfdb8b64795415
treeec24de335e5e51a7b9bc26c6cd8bd32da0fa6182
parent58304630b830a1c27457ce2e3a0912555b43d03e
drm/edid: sunset drm_find_cea_extension()

Convert drm_find_cea_extension() to a predicate function to check if the
EDID has a CTA extension or a DisplayID CTA data block. This is mainly
to avoid adding new users that only find the first CTA extension.

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/a5bf228942e6bd0fc70d5cf7a14c249a14a7afcd.1651569697.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c