drm/edid: use EDID block read helper in drm_do_get_edid()
authorJani Nikula <jani.nikula@intel.com>
Mon, 11 Apr 2022 14:00:31 +0000 (17:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Apr 2022 13:51:45 +0000 (16:51 +0300)
commitc12561ce43358ce59fc0f2275fc1853e24980908
treecb282e6b236b8210fbecf9bc43bc002dadf12ccc
parent2deaf1c2561d5ec152ee2f2ce547a15b85d38b55
drm/edid: use EDID block read helper in drm_do_get_edid()

Convert drm_do_get_edit() from the base block read helper to the generic
block read helper. There's quite a bit going on here, as the corrupt and
null EDID information is moved back to the caller. As we see, they were
not all that clear to begin with, and this change underlines that.

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