Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] drm/i915/display: Sync tiled displays with pipelock
@ 2026-11-26  6:34 Suraj Kandpal
  2026-11-26  6:34 ` [PATCH 01/15] drm/i915/display: Rename port sync master/slave to primary/secondary Suraj Kandpal
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Suraj Kandpal @ 2026-11-26  6:34 UTC (permalink / raw)
  To: intel-gfx, intel-xe
  Cc: ankit.k.nautiyal, uma.shankar, chaitanya.kumar.borah,
	Suraj Kandpal

Port sync is deprecated from Xe3p onwards and replaced by pipelock, so
the tiles of a DP tiled display currently run unsynchronized on NVL.
This series syncs them with pipelock instead.

The port sync topology is reused, renamed to primary/secondary. With
pipelock the secondary is set up as a local genlock secondary of the
primary in TRANS_DDI_FUNC_CTL2, the primary is enabled before its
secondaries, and the DP link is no longer held in idle. The tiles need
the same PLL, timings and SDPs, SSC, PSR and CMRR are kept off on them,
and the guardband is raised to the largest one in the group. A link
training fallback on one tile is applied to all of them, so they stay
in sync.

The last two commits move PTL from port sync to pipelock as well.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (15):
  drm/i915/display: Rename port sync master/slave to primary/secondary
  drm/i915/display: Add HAS_PIPELOCK()
  drm/i915/display: Add pipelock bits to TRANS_DDI_FUNC_CTL2
  drm/i915/ddi: Program pipelock in TRANS_DDI_FUNC_CTL2
  drm/i915/ddi: Don't hold the DP link in idle with pipelock
  drm/i915/display: Enable the pipelock primary before its secondaries
  drm/i915/display: Read out and verify pipelock state
  drm/i915/pipelock: Keep SSC, PSR and CMRR off on pipelock tiles
  drm/i915/pipelock: Compute pipelock groups for DP tiled displays
  drm/i915/vrr: Split out setting the guardband
  drm/i915/pipelock: Equalize the guardband across a pipelock group
  drm/i915/dp: Apply link training fallback to the whole tile group
  drm/i915/display: Show transcoder sync state in i915_display_info
  drm/i915/display: Use pipelock on PTL
  drm/i915/ddi: Disable port sync on PTL

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_crtc.c     |   2 +-
 .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
 drivers/gpu/drm/i915/display/intel_cx0_phy.c  |   5 +
 drivers/gpu/drm/i915/display/intel_ddi.c      | 130 +++++++++++------
 drivers/gpu/drm/i915/display/intel_display.c  |  57 ++++----
 drivers/gpu/drm/i915/display/intel_display.h  |   5 +-
 .../drm/i915/display/intel_display_debugfs.c  |  22 +++
 .../drm/i915/display/intel_display_device.h   |   1 +
 .../gpu/drm/i915/display/intel_display_regs.h |   6 +
 .../drm/i915/display/intel_display_types.h    |  14 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |   6 +-
 .../drm/i915/display/intel_dp_link_training.c |  34 +++++
 drivers/gpu/drm/i915/display/intel_lt_phy.c   |   4 +
 .../drm/i915/display/intel_modeset_setup.c    |  57 ++++----
 drivers/gpu/drm/i915/display/intel_pipelock.c | 133 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_pipelock.h |  24 ++++
 drivers/gpu/drm/i915/display/intel_psr.c      |   7 +
 drivers/gpu/drm/i915/display/intel_vrr.c      |  38 +++--
 drivers/gpu/drm/i915/display/intel_vrr.h      |   1 +
 drivers/gpu/drm/xe/Makefile                   |   1 +
 21 files changed, 441 insertions(+), 118 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_pipelock.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_pipelock.h

-- 
2.34.1


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

end of thread, other threads:[~2026-11-26  9:43 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  6:34 [PATCH 00/15] drm/i915/display: Sync tiled displays with pipelock Suraj Kandpal
2026-11-26  6:34 ` [PATCH 01/15] drm/i915/display: Rename port sync master/slave to primary/secondary Suraj Kandpal
2026-11-26  6:43   ` sashiko-bot
2026-11-26  6:34 ` [PATCH 02/15] drm/i915/display: Add HAS_PIPELOCK() Suraj Kandpal
2026-11-26  6:34 ` [PATCH 03/15] drm/i915/display: Add pipelock bits to TRANS_DDI_FUNC_CTL2 Suraj Kandpal
2026-11-26  8:45   ` Jani Nikula
2026-11-26  6:34 ` [PATCH 04/15] drm/i915/ddi: Program pipelock in TRANS_DDI_FUNC_CTL2 Suraj Kandpal
2026-11-26  6:34 ` [PATCH 05/15] drm/i915/ddi: Don't hold the DP link in idle with pipelock Suraj Kandpal
2026-11-26  6:34 ` [PATCH 06/15] drm/i915/display: Enable the pipelock primary before its secondaries Suraj Kandpal
2026-11-26  6:34 ` [PATCH 07/15] drm/i915/display: Read out and verify pipelock state Suraj Kandpal
2026-11-26  6:34 ` [PATCH 08/15] drm/i915/pipelock: Keep SSC, PSR and CMRR off on pipelock tiles Suraj Kandpal
2026-11-26  8:52   ` Jani Nikula
2026-11-26  9:14     ` Kandpal, Suraj
2026-11-26  6:34 ` [PATCH 09/15] drm/i915/pipelock: Compute pipelock groups for DP tiled displays Suraj Kandpal
2026-11-26  8:56   ` Jani Nikula
2026-11-26  9:16     ` Kandpal, Suraj
2026-11-26  6:34 ` [PATCH 10/15] drm/i915/vrr: Split out setting the guardband Suraj Kandpal
2026-11-26  6:44   ` sashiko-bot
2026-11-26  8:58   ` Jani Nikula
2026-11-26  9:17     ` Kandpal, Suraj
2026-11-26  6:34 ` [PATCH 11/15] drm/i915/pipelock: Equalize the guardband across a pipelock group Suraj Kandpal
2026-11-26  6:49   ` sashiko-bot
2026-11-26  6:34 ` [PATCH 12/15] drm/i915/dp: Apply link training fallback to the whole tile group Suraj Kandpal
2026-11-26  7:06   ` sashiko-bot
2026-11-26  6:34 ` [PATCH 13/15] drm/i915/display: Show transcoder sync state in i915_display_info Suraj Kandpal
2026-11-26  6:34 ` [PATCH 14/15] drm/i915/display: Use pipelock on PTL Suraj Kandpal
2026-11-26  6:54   ` sashiko-bot
2026-11-26  6:34 ` [PATCH 15/15] drm/i915/ddi: Disable port sync " Suraj Kandpal
2026-11-26  7:49 ` ✓ i915.CI.BAT: success for drm/i915/display: Sync tiled displays with pipelock Patchwork

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