]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa4aa509bdba9c568ede08fd6a9a54079c986b6f
treeb7b34d9b73df2f8bedc54f1be5506d8611ca3e1a
parent4352572e5e505c75e00c41396f7b4e2697309893
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