diff options
author | 2022-11-02 21:07:00 +0300 | |
---|---|---|
committer | 2023-01-05 14:59:44 +0100 | |
commit | c8268795c9a9cc7be50f78d4502fad83a2a4f8df (patch) | |
tree | 168e5b8de4d09fc758e0ecd8d1d662fdf8a1eccf /drivers/gpu/drm/tiny/simpledrm.c | |
parent | drm/poll-helper: merge drm_kms_helper_poll_disable() and _fini() (diff) | |
download | wireguard-linux-c8268795c9a9cc7be50f78d4502fad83a2a4f8df.tar.xz wireguard-linux-c8268795c9a9cc7be50f78d4502fad83a2a4f8df.zip |
drm/probe-helper: enable and disable HPD on connectors
Introduce two drm_connector_helper_funcs: enable_hpd() and disable_hpd().
They are called by drm_kms_helper_poll_enable() and
drm_kms_helper_poll_disable() (and thus drm_kms_helper_poll_init() and
drm_kms_helper_poll_fini()) respectively.
This allows DRM drivers to rely on drm_kms_helper_poll for enabling and
disabling HPD detection rather than doing that manually.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221102180705.459294-3-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/gpu/drm/tiny/simpledrm.c')
0 files changed, 0 insertions, 0 deletions