Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/dp: Fix link training interrupted by HPD pulse
@ 2025-02-24 19:31 Imre Deak
  2025-02-24 19:31 ` [PATCH 1/5] drm/i915/hpd: Let an HPD pin be in the disabled state when handling missed IRQs Imre Deak
                   ` (21 more replies)
  0 siblings, 22 replies; 28+ messages in thread
From: Imre Deak @ 2025-02-24 19:31 UTC (permalink / raw)
  To: intel-gfx, intel-xe

This patchset fixes a problem during Display Port link training, where
the link training is interrupted by a short HPD pulse generated by the
sink. Generally the sink signals a bad link state via such short pulses,
but the sink should prevent such signaling during link training.

Some sinks do generate a short pulse as above during link training, or a
pulse generated before the link training started may be handled from a
scheduled work during link training. Such a handling may interfere with
the link training (see patch 3 for the reason), so this patchset
prevents the handling of pulses during link training.

Imre Deak (5):
  drm/i915/hpd: Let an HPD pin be in the disabled state when handling
    missed IRQs
  drm/i915/hpd: Add support for suspending the IRQ handling on an HPD
    pin
  drm/i915/dp: Fix link training interrupted by a short HPD pulse
  drm/i915/dp: Queue a link check after link training is complete
  drm/i915/crt: Use intel_hpd_suspend/resume() instead of
    intel_hpd_disable/enable()

 drivers/gpu/drm/i915/display/intel_crt.c      |   7 +-
 .../gpu/drm/i915/display/intel_display_core.h |   2 +
 .../drm/i915/display/intel_dp_link_training.c |  23 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c  | 264 ++++++++++++++----
 drivers/gpu/drm/i915/display/intel_hotplug.h  |   5 +-
 5 files changed, 237 insertions(+), 64 deletions(-)

-- 
2.44.2


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-02-26 13:16 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 19:31 [PATCH 0/5] drm/dp: Fix link training interrupted by HPD pulse Imre Deak
2025-02-24 19:31 ` [PATCH 1/5] drm/i915/hpd: Let an HPD pin be in the disabled state when handling missed IRQs Imre Deak
2025-02-24 19:31 ` [PATCH 2/5] drm/i915/hpd: Add support for suspending the IRQ handling on an HPD pin Imre Deak
2025-02-25 12:15   ` [PATCH v2 " Imre Deak
2025-02-25 16:25     ` Jani Nikula
2025-02-25 17:15       ` Imre Deak
2025-02-24 19:31 ` [PATCH 3/5] drm/i915/dp: Fix link training interrupted by a short HPD pulse Imre Deak
2025-02-24 19:31 ` [PATCH 4/5] drm/i915/dp: Queue a link check after link training is complete Imre Deak
2025-02-24 19:31 ` [PATCH 5/5] drm/i915/crt: Use intel_hpd_suspend/resume() instead of intel_hpd_disable/enable() Imre Deak
2025-02-25 12:15   ` [PATCH v2 " Imre Deak
2025-02-25  1:54 ` ✓ CI.Patch_applied: success for drm/dp: Fix link training interrupted by HPD pulse Patchwork
2025-02-25  1:54 ` ✓ CI.checkpatch: " Patchwork
2025-02-25  1:56 ` ✓ CI.KUnit: " Patchwork
2025-02-25  2:12 ` ✓ CI.Build: " Patchwork
2025-02-25  2:14 ` ✓ CI.Hooks: " Patchwork
2025-02-25  2:16 ` ✗ CI.checksparse: warning " Patchwork
2025-02-25  2:35 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-25  6:13 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-25 12:20 ` ✓ CI.Patch_applied: success for drm/dp: Fix link training interrupted by HPD pulse (rev3) Patchwork
2025-02-25 12:20 ` ✓ CI.checkpatch: " Patchwork
2025-02-25 12:21 ` ✓ CI.KUnit: " Patchwork
2025-02-25 12:38 ` ✓ CI.Build: " Patchwork
2025-02-25 12:40 ` ✓ CI.Hooks: " Patchwork
2025-02-25 12:42 ` ✗ CI.checksparse: warning " Patchwork
2025-02-25 12:59 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-25 19:15 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-26 12:55 ` [PATCH 0/5] drm/dp: Fix link training interrupted by HPD pulse Jani Nikula
2025-02-26 13:17   ` Imre Deak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox