OSDN Git Service

drm/edid: add block count and data helper functions for drm_edid
authorJani Nikula <jani.nikula@intel.com>
Wed, 8 Jun 2022 07:50:33 +0000 (10:50 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 13 Jun 2022 09:30:44 +0000 (12:30 +0300)
commitd9307f27efa531f034862bccf2985c5fa22c4b80
treeb7b34d9b73df2f8bedc54f1be5506d8611ca3e1a
parent11a8d095d86854bbc8697525f2c543de36bf5804
drm/edid: add block count and data helper functions for drm_edid

Add drm_edid based block count and data access helper functions that
take the EDID allocated size into account.

At the moment, the allocated size should always match the EDID size
indicated by the extension count, but this will change in the future.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1a68c8667a88e7c451b001ad8bd86c8badb57fb8.1654674560.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c