drm/probe_helper: extract two helper functions
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 24 Jan 2023 10:45:47 +0000 (12:45 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 26 Jan 2023 08:00:40 +0000 (09:00 +0100)
commitcbf143b282c64e59559cc8351c0b5b1ab4bbdcbe
treeffd37651d85973e7a705a5f9d207cbca21a930df
parent6ca80b9e5cc0120c37e2e7dd367b08e3e0eb8289
drm/probe_helper: extract two helper functions

Extract drm_kms_helper_enable_hpd() and drm_kms_helper_disable_hpd(),
two helpers that enable and disable HPD handling on all device's
connectors.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230124104548.3234554-1-dmitry.baryshkov@linaro.org
drivers/gpu/drm/drm_probe_helper.c