diff options
author | Imre Deak <[email protected]> | 2023-08-22 14:30:15 +0300 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2023-08-23 17:15:41 -0400 |
commit | cfd48ad8c4a9137b0fde7f0ecf463d44b01875dc (patch) | |
tree | 93c356d6f03afd29776a9cda081f8e51780449eb /arch/arm64/kernel/efi.c | |
parent | c67b06f19419fb57aa2338944d222ae2a42e0782 (diff) |
drm/i915: Fix HPD polling, reenabling the output poll work as needed
After the commit in the Fixes: line below, HPD polling stopped working
on i915, since after that change calling drm_kms_helper_poll_enable()
doesn't restart drm_mode_config::output_poll_work if the work was
stopped (no connectors needing polling) and enabling polling for a
connector (during runtime suspend or detecting an HPD IRQ storm).
After the above change calling drm_kms_helper_poll_enable() is a nop
after it's been called already and polling for some connectors was
disabled/re-enabled.
Fix this by calling drm_kms_helper_poll_reschedule() added in the
previous patch instead, which reschedules the work whenever expected.
Fixes: d33a54e3991d ("drm/probe_helper: sort out poll_running vs poll_enabled")
CC: [email protected] # 6.4+
Cc: Dmitry Baryshkov <[email protected]>
Cc: [email protected]
Reviewed-by: Jouni Högander <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 50452f2f76852322620b63e62922b85e955abe94)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm64/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions