Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] drm/i915/ddi: Fix/simplify port enabling/disabling
@ 2025-01-29 20:02 Imre Deak
  2025-01-29 20:02 ` [PATCH 01/17] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro Imre Deak
                   ` (25 more replies)
  0 siblings, 26 replies; 55+ messages in thread
From: Imre Deak @ 2025-01-29 20:02 UTC (permalink / raw)
  To: intel-gfx, intel-xe

This patchset fixes two issues (in patch 2 and 4) and simplifies a few
other things in the DDI port enabling/disabling sequences. I noticed
these while thinking about a way to enable/disable ports as part of
the HW readout/sanitization, for which this patchset is also a
preparation.

Imre Deak (17):
  drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro
  drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
  drm/i915/ddi: Make all the PORT_WIDTH macros work the same way
  drm/i915/ddi: Set missing TC DP PHY lane stagger delay in DDI_BUF_CTL
  drm/i915/ddi: Simplify the port enabling via DDI_BUF_CTL
  drm/i915/ddi: Simplify the port disabling via DDI_BUF_CTL
  drm/i915/ddi: Simplify waiting for a port to idle via DDI_BUF_CTL
  drm/i915/ddi: Move platform checks within
    mtl_ddi_enable/disable_d2d_link()
  drm/i915/ddi: Unify the platform specific functions disabling a port
  drm/i915/ddi: Add a helper to enable a port
  drm/i915/ddi: Sanitize DDI_BUF_CTL register definitions
  drm/i915/ddi: Configure/enable a port in DDI_BUF_CTL via
    read-modify-write
  drm/i915/ddi: Factor out a helper to get DDI_BUF_CTL's config value
  drm/i915/ddi: Reuse helper to compute the HDMI DDI_BUF_CTL config
  drm/i915/ddi: Reuse helper to compute the HDMI PORT_BUF_CTL1 config
  drm/i915/ddi: Move platform/encoder checks within
    adlp_tbt_to_dp_alt_switch_wa()
  drm/i915/ddi: Unify the platform specific functions enabling a port

 drivers/gpu/drm/i915/display/icl_dsi.c        |   4 +-
 .../gpu/drm/i915/display/intel_cx0_phy_regs.h |   3 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      | 378 +++++++-----------
 drivers/gpu/drm/i915/i915_reg.h               |  25 +-
 4 files changed, 169 insertions(+), 241 deletions(-)

-- 
2.44.2


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

end of thread, other threads:[~2025-02-12 11:51 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 20:02 [PATCH 00/17] drm/i915/ddi: Fix/simplify port enabling/disabling Imre Deak
2025-01-29 20:02 ` [PATCH 01/17] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro Imre Deak
2025-01-30 11:47   ` Jani Nikula
2025-01-29 20:02 ` [PATCH 02/17] drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL Imre Deak
2025-01-30 11:51   ` Jani Nikula
2025-01-30 13:33     ` Imre Deak
2025-01-29 20:02 ` [PATCH 03/17] drm/i915/ddi: Make all the PORT_WIDTH macros work the same way Imre Deak
2025-01-30 11:52   ` Jani Nikula
2025-01-29 20:02 ` [PATCH 04/17] drm/i915/ddi: Set missing TC DP PHY lane stagger delay in DDI_BUF_CTL Imre Deak
2025-02-05 12:22   ` Jani Nikula
2025-02-05 13:20     ` Imre Deak
2025-01-29 20:02 ` [PATCH 05/17] drm/i915/ddi: Simplify the port enabling via DDI_BUF_CTL Imre Deak
2025-01-30 11:55   ` Jani Nikula
2025-01-30 13:34     ` Imre Deak
2025-01-29 20:02 ` [PATCH 06/17] drm/i915/ddi: Simplify the port disabling " Imre Deak
2025-02-05 12:24   ` Jani Nikula
2025-01-29 20:02 ` [PATCH 07/17] drm/i915/ddi: Simplify waiting for a port to idle " Imre Deak
2025-02-05 12:35   ` Jani Nikula
2025-02-05 12:47     ` Imre Deak
2025-02-05 13:02       ` Jani Nikula
2025-02-12 11:48         ` Kahola, Mika
2025-01-29 20:02 ` [PATCH 08/17] drm/i915/ddi: Move platform checks within mtl_ddi_enable/disable_d2d_link() Imre Deak
2025-02-05 12:42   ` Jani Nikula
2025-02-05 13:46     ` Imre Deak
2025-01-29 20:02 ` [PATCH 09/17] drm/i915/ddi: Unify the platform specific functions disabling a port Imre Deak
2025-02-05 12:45   ` Jani Nikula
2025-01-29 20:02 ` [PATCH 10/17] drm/i915/ddi: Add a helper to enable " Imre Deak
2025-02-05 12:49   ` Jani Nikula
2025-02-05 14:43     ` Imre Deak
2025-01-29 20:02 ` [PATCH 11/17] drm/i915/ddi: Sanitize DDI_BUF_CTL register definitions Imre Deak
2025-02-05 12:52   ` Jani Nikula
2025-02-05 14:52     ` Imre Deak
2025-01-29 20:02 ` [PATCH 12/17] drm/i915/ddi: Configure/enable a port in DDI_BUF_CTL via read-modify-write Imre Deak
2025-02-10 18:13   ` Jani Nikula
2025-02-10 18:25     ` Imre Deak
2025-02-12 11:51       ` Kahola, Mika
2025-01-29 20:02 ` [PATCH 13/17] drm/i915/ddi: Factor out a helper to get DDI_BUF_CTL's config value Imre Deak
2025-02-10 18:06   ` Jani Nikula
2025-01-29 20:02 ` [PATCH 14/17] drm/i915/ddi: Reuse helper to compute the HDMI DDI_BUF_CTL config Imre Deak
2025-02-11 14:06   ` Kahola, Mika
2025-01-29 20:02 ` [PATCH 15/17] drm/i915/ddi: Reuse helper to compute the HDMI PORT_BUF_CTL1 config Imre Deak
2025-02-12  9:51   ` Kahola, Mika
2025-01-29 20:02 ` [PATCH 16/17] drm/i915/ddi: Move platform/encoder checks within adlp_tbt_to_dp_alt_switch_wa() Imre Deak
2025-02-12 11:06   ` Kahola, Mika
2025-01-29 20:02 ` [PATCH 17/17] drm/i915/ddi: Unify the platform specific functions enabling a port Imre Deak
2025-02-12 11:26   ` Kahola, Mika
2025-01-29 22:16 ` ✓ CI.Patch_applied: success for drm/i915/ddi: Fix/simplify port enabling/disabling Patchwork
2025-01-29 22:17 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-29 22:18 ` ✓ CI.KUnit: success " Patchwork
2025-01-29 22:34 ` ✓ CI.Build: " Patchwork
2025-01-29 22:37 ` ✓ CI.Hooks: " Patchwork
2025-01-29 22:38 ` ✗ CI.checksparse: warning " Patchwork
2025-01-30  6:22 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-30  8:27 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-31  7:42 ` Patchwork

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