[PATCH 00/12] drm/edid: cleanup and refactoring around validity checks
Jani Nikula
jani.nikula at intel.com
Tue Mar 29 18:42:07 UTC 2022
Another day, another batch of EDID code refactoring.
Mostly the goal was to simplify drm_do_get_edid(), but trying to extract
a const function for checking a single block validity lead me down a
rabbit hole...
BR,
Jani.
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Jani Nikula (12):
drm/edid: use struct edid * in drm_do_get_edid()
drm/edid: clean up EDID block checksum functions
drm/edid: add edid_block_tag() helper to get the EDID extension tag
drm/edid: make drm_edid_header_is_valid() accept void pointer
drm/edid: clean up edid_is_zero()
drm/edid: split out edid_header_fix()
drm/edid: split drm_edid_block_valid() to check and act parts
drm/edid: use a better variable name for EDID block read retries
drm/edid: simplify block check when filtering invalid blocks
drm/edid: split out invalid block filtering to a separate function
drm/edid: track invalid blocks in drm_do_get_edid()
drm/edid: reduce magic when updating the EDID block checksum
drivers/gpu/drm/drm_edid.c | 293 +++++++++++++++++++++----------------
include/drm/drm_edid.h | 2 +-
2 files changed, 171 insertions(+), 124 deletions(-)
--
2.30.2
More information about the dri-devel
mailing list