OSDN Git Service

drm/edid: add edid_block_tag() helper to get the EDID extension tag
authorJani Nikula <jani.nikula@intel.com>
Thu, 31 Mar 2022 18:45:00 +0000 (21:45 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 1 Apr 2022 14:44:40 +0000 (17:44 +0300)
commit4ba0f53ce685b0dcfc932342e0de85707747ea7e
tree5f86b5391093c1726613b287b4f515dc2fe5f4df
parent70e49ebe90033ae69831b311bd6cd0ad267ebec9
drm/edid: add edid_block_tag() helper to get the EDID extension tag

The extension tag at offset 0 is not present in struct edid, add a
helper for it to reduce the need to use u8 *.

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