drm/edid: Break out reading block 0 of the EDID
authorDouglas Anderson <dianders@chromium.org>
Tue, 14 Sep 2021 20:21:49 +0000 (13:21 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 20 Sep 2021 16:15:37 +0000 (09:15 -0700)
commitbac9c29482248b00cccfdfef1f34175714d33370
tree2b1729f0a763d11e2a0e3653edc4135cd82f9090
parent29145a56687390818e6cdab20add4ecf9ae05f57
drm/edid: Break out reading block 0 of the EDID

A future change wants to be able to read just block 0 of the EDID, so
break it out of drm_do_get_edid() into a sub-function.

This is intended to be a no-op change--just code movement.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914132020.v5.2.I62e76a034ac78c994d40a23cd4ec5aeee56fa77c@changeid
drivers/gpu/drm/drm_edid.c