Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] drm/i915: Fix HPD handling during driver init/shutdown
@ 2024-01-04  8:29 Imre Deak
  2024-01-04  8:29 ` [PATCH 01/12] drm/i915: Init DRM connector polled field early Imre Deak
                   ` (22 more replies)
  0 siblings, 23 replies; 48+ messages in thread
From: Imre Deak @ 2024-01-04  8:29 UTC (permalink / raw)
  To: intel-gfx

Fix the handling of display connector hotplug handling during the driver
init/shutdown sequences. A hotplug event can result in a connector
detection/modeset running in parallel with the HW programming of the
init/shutdown sequence, or when the display IRQs are disabled already.

Also fix incorrectly detecting a disconnected state due to glitches on
the HPD line and prevent long timeout/retry delays during DP AUX
transfers on all DP connectors.

Imre Deak (12):
  drm/i915: Init DRM connector polled field early
  drm/i915: Keep the connector polled state disabled after storm
  drm/i915: Move audio deinit after disabling polling
  drm/i915: Disable intel HPD poll after DRM poll init/enable
  drm/i915: Suspend the framebuffer console during driver shutdown
  drm/i915: Suspend the framebuffer console earlier during system
    suspend
  drm/i915: Prevent modesets during driver init/shutdown
  drm/i915: Disable hotplug detection works during driver init/shutdown
  drm/i915: Disable hotplug detection handlers during driver
    init/shutdown
  drm/i915: Add intel_digital_port lock/unlock hooks
  drm/i915: Filter out glitches on HPD lines during hotplug detection
  drm/i915/dp: Abort AUX on disconnected native DP ports

 drivers/gpu/drm/i915/display/intel_crt.c      |   5 +
 drivers/gpu/drm/i915/display/intel_ddi.c      |   3 +
 drivers/gpu/drm/i915/display/intel_display.c  |   3 +
 .../gpu/drm/i915/display/intel_display_core.h |  13 ++
 .../drm/i915/display/intel_display_driver.c   |  85 ++++++++-
 .../drm/i915/display/intel_display_driver.h   |   6 +
 .../drm/i915/display/intel_display_types.h    |   3 +
 drivers/gpu/drm/i915/display/intel_dp.c       |  58 +++++-
 drivers/gpu/drm/i915/display/intel_dp.h       |   3 +
 drivers/gpu/drm/i915/display/intel_dp_aux.c   |  29 ++-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   4 +
 drivers/gpu/drm/i915/display/intel_dvo.c      |   5 +
 drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +
 drivers/gpu/drm/i915/display/intel_hotplug.c  | 165 ++++++++++++++++--
 drivers/gpu/drm/i915/display/intel_hotplug.h  |   4 +
 drivers/gpu/drm/i915/display/intel_panel.c    |   4 +
 drivers/gpu/drm/i915/display/intel_sdvo.c     |   6 +
 drivers/gpu/drm/i915/display/intel_tc.c       |  24 ++-
 drivers/gpu/drm/i915/display/intel_tc.h       |   2 +-
 drivers/gpu/drm/i915/display/intel_tv.c       |   5 +
 drivers/gpu/drm/i915/i915_driver.c            |  22 ++-
 21 files changed, 394 insertions(+), 63 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-01-10 11:41 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04  8:29 [PATCH 00/12] drm/i915: Fix HPD handling during driver init/shutdown Imre Deak
2024-01-04  8:29 ` [PATCH 01/12] drm/i915: Init DRM connector polled field early Imre Deak
2024-01-05 12:54   ` Hogander, Jouni
2024-01-05 13:12     ` Imre Deak
2024-01-04  8:29 ` [PATCH 02/12] drm/i915: Keep the connector polled state disabled after storm Imre Deak
2024-01-05 13:23   ` Hogander, Jouni
2024-01-05 13:38     ` Imre Deak
2024-01-05 14:08       ` Hogander, Jouni
2024-01-05 14:22         ` Imre Deak
2024-01-04  8:29 ` [PATCH 03/12] drm/i915: Move audio deinit after disabling polling Imre Deak
2024-01-05 13:42   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 04/12] drm/i915: Disable intel HPD poll after DRM poll init/enable Imre Deak
2024-01-08  6:23   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 05/12] drm/i915: Suspend the framebuffer console during driver shutdown Imre Deak
2024-01-08  7:51   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 06/12] drm/i915: Suspend the framebuffer console earlier during system suspend Imre Deak
2024-01-08  7:51   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 07/12] drm/i915: Prevent modesets during driver init/shutdown Imre Deak
2024-01-04 13:23   ` [PATCH v2 " Imre Deak
2024-01-08  8:31   ` [PATCH " Hogander, Jouni
2024-01-08  9:20     ` Imre Deak
2024-01-08  9:44       ` Hogander, Jouni
2024-01-08 12:34         ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 08/12] drm/i915: Disable hotplug detection works " Imre Deak
2024-01-08  9:40   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 09/12] drm/i915: Disable hotplug detection handlers " Imre Deak
2024-01-08  9:59   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 10/12] drm/i915: Add intel_digital_port lock/unlock hooks Imre Deak
2024-01-08 10:08   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 11/12] drm/i915: Filter out glitches on HPD lines during hotplug detection Imre Deak
2024-01-08 10:25   ` Hogander, Jouni
2024-01-04  8:30 ` [PATCH 12/12] drm/i915/dp: Abort AUX on disconnected native DP ports Imre Deak
2024-01-08 10:33   ` Hogander, Jouni
2024-01-04 12:39 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix HPD handling during driver init/shutdown Patchwork
2024-01-04 12:39 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-01-04 12:57 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-01-04 13:50 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix HPD handling during driver init/shutdown (rev2) Patchwork
2024-01-04 13:50 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-01-04 14:08 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-01-04 16:00   ` Imre Deak
2024-01-05  7:12     ` Illipilli, TejasreeX
2024-01-05  7:11 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-05  8:38 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-01-08 18:19   ` Imre Deak
2024-01-10 11:40     ` Illipilli, TejasreeX
2024-01-10  9:45 ` Patchwork
2024-01-10 10:03 ` Patchwork
2024-01-10 11:11 ` ✓ Fi.CI.IGT: success " Patchwork

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