]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Add an HPD poll helper to reschedule the poll work
authorImre Deak <imre.deak@intel.com>
Tue, 22 Aug 2023 11:30:14 +0000 (14:30 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 23 Aug 2023 19:25:08 +0000 (22:25 +0300)
commitfe2352fd64029918174de4b460dfe6df0c6911cd
tree6384ae07e7e22e721188ca5b4b300ccc23d090e2
parent1bd1817b68d7de9e076e0d19a1528dec266722aa
drm: Add an HPD poll helper to reschedule the poll work

Add a helper to reschedule drm_mode_config::output_poll_work after
polling has been enabled for a connector (and needing a reschedule,
since previously polling was disabled for all connectors and hence
output_poll_work was not running).

This is needed by the next patch fixing HPD polling on i915.

CC: stable@vger.kernel.org # 6.4+
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230822113015.41224-1-imre.deak@intel.com
drivers/gpu/drm/drm_probe_helper.c
include/drm/drm_probe_helper.h