]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: convert extension block read to EDID block read helper
authorJani Nikula <jani.nikula@intel.com>
Mon, 11 Apr 2022 14:00:32 +0000 (17:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Apr 2022 13:51:50 +0000 (16:51 +0300)
commit69d5c003de954a53cf5e58414c15b4015871e148
treed7ed7a72acaf7f80b5b7c3616a7865ebf7b4d37a
parentbd28c2d2ec358dda34dc1fd39e08df5454c781d9
drm/edid: convert extension block read to EDID block read helper

Use the EDID block read helper also for extension block reads, making
edid_block_read() the only place with the read retry logic.

Note: We observe that drm_do_get_edid() does not use invalid extension
blocks to flag the EDID as corrupt.

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