]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd28c2d2ec358dda34dc1fd39e08df5454c781d9
treecb282e6b236b8210fbecf9bc43bc002dadf12ccc
parentf0ef1234026da45c2b5da34e46d302c62ec35971
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