Xe3p adds a DP link layer (LL) symbol based timing generator, as an
alternative to the pixel clock based one. It generates the transcoder
timings in LL symbol cycles instead of pixels, which makes the per-line
symbol insertion for 8b/10b MST and 128b/132b SST/MST compliant with
the DP 2.1 hblank symbol cycle count. This reduces the line-to-line
hblank jitter that some sinks can't handle, and the Min Hblank
mechanism can't be used together with it.

This series computes the LL symbol HACT/HTOTAL/CHUNK_SIZE and the 128
bit Data M/N for the symbol based timing generator, programs and enables
it, and drops the Link M/N ratio limit, which only applies to the pixel
based timing generator. If the symbol based timing generator can't be
used (MSO/eDP splitter, timings out of range, Data M/N above 1.0), the
pixel based one is kept.

Patch overview:
 - Patch 1 factors out the DSC slice count and link bpp lookup, to be
   shared with the Min Hblank computation.
 - Patch 2 adds the symbol based timing generator registers.
 - Patch 3 adds the symbol based timing generator state to the crtc
   state, with its state dump and state checker comparison.
 - Patch 4 adds HAS_DP_SYMBOL_TG().
 - Patch 5 computes the timing generator parameters.
 - Patch 6 programs and enables the timing generator, including the
   state readout.
 - Patch 7 lifts the Link M/N ratio limit when the symbol based timing
   generator is used.

Cc: Jani Nikula <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
To: [email protected]
To: [email protected]
To: [email protected]

Bspec: 68922
Signed-off-by: Arun R Murthy <[email protected]>
---
Changes in v5:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v4: 
https://lore.kernel.org/r/[email protected]

Changes in v4:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v3: 
https://lore.kernel.org/r/[email protected]

Changes in v3:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v2: 
https://lore.kernel.org/r/[email protected]

Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: 
https://lore.kernel.org/r/[email protected]

---
Arun R Murthy (13):
      drm/i915/dp: Factor out the DSC slice count and link bpp lookup
      drm/i915/display: Add the DP link layer symbol timing generator registers
      drm/i915/display: Add the DP symbol timing generator crtc state
      drm/i915/display: Add HAS_DP_SYMBOL_TG()
      drm/dp: Add the DPCD definitions of the Rx minimum Hblank
      drm/i915/dp: Compute the DP symbol based timing generator parameters
      drm/i915/display: Program the DP symbol based timing generator
      drm/i915/dp: Don't limit the Link M/N ratio with the symbol timing 
generator
      drm/i915/dp: Select the symbol TG Data M/N matching the active PLL
      drm/i915/dp: Prune the modes not fitting the DP symbol timing generator
      drm/dp: Add a helper for the DP BW margin overhead
      drm/i915/dp: Account for the symbol TG in the DP BW calculations
      drm/i915/dp: Enable the DP symbol TG, with a debugfs knob to disable it

 drivers/gpu/drm/display/drm_dp_helper.c            |  86 ++--
 drivers/gpu/drm/i915/display/intel_audio.c         |  28 +-
 .../gpu/drm/i915/display/intel_crtc_state_dump.c   |  11 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |   2 +
 drivers/gpu/drm/i915/display/intel_display.c       | 125 +++++-
 drivers/gpu/drm/i915/display/intel_display.h       |   1 +
 .../gpu/drm/i915/display/intel_display_device.h    |   1 +
 .../gpu/drm/i915/display/intel_display_params.h    |   6 +
 drivers/gpu/drm/i915/display/intel_display_regs.h  |  38 ++
 drivers/gpu/drm/i915/display/intel_display_types.h |  24 +
 drivers/gpu/drm/i915/display/intel_dp.c            | 493 +++++++++++++++++++--
 drivers/gpu/drm/i915/display/intel_dp.h            |  25 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        | 119 ++++-
 drivers/gpu/drm/i915/display/intel_dp_tunnel.c     |   4 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  31 ++
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |   2 +
 include/drm/display/drm_dp.h                       |   5 +
 include/drm/display/drm_dp_helper.h                |   1 +
 18 files changed, 892 insertions(+), 110 deletions(-)
---
base-commit: d56ff005f0d16ec136ee31fe3238eb447fefdc1a
change-id: 20261027-vlk-64036-dp-symbol-tg-d72c4222856e

Best regards,
-- 
Arun R Murthy <[email protected]>

Reply via email to