Skip to content

drm/i915/ddi_mgr: Add support for dynamic DDI allocation

Imre Deak intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drm/i915/dp: Allow rebuilding the source rate listdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h+2 -60 replies
2/13drm/i915/hotplug: Set detector enable bits without a clear maskdrivers/gpu/drm/i915/display/intel_hotplug_irq.c+6 -60 replies
3/13drm/i915/nvl+: Add support for remapping logical HPD pins to HW pinsdrivers/gpu/drm/i915/display/intel_display_core.h drivers/gpu/drm/i915/display/intel_hotplug_irq.c drivers/gpu/drm/i915/display/intel_hotplug_irq.h+113 -100 replies
4/13drm/xe/display: Distinguish failed system suspend recoverydrivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_device.c+10 -51 reply
5/13drm/i915/gmbus: Extract a helper for Type-C DDC pin mappingdrivers/gpu/drm/i915/display/intel_gmbus.c drivers/gpu/drm/i915/display/intel_gmbus.h drivers/gpu/drm/i915/display/intel_hdmi.c+8 -10 replies
6/13drm/i915/ddi_mgr: Add support for dynamic DDI allocationdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/intel_ddi_mgr.c drivers/gpu/drm/i915/display/intel_ddi_mgr.h +3 more+871 -02 replies
7/13drm/i915/gmbus: Extract adapter creation and destructiondrivers/gpu/drm/i915/display/intel_gmbus.c+62 -510 replies
8/13drm/i915/gmbus: Add stable DDC adapters for the DDI pooldrivers/gpu/drm/i915/display/intel_ddi_mgr.c drivers/gpu/drm/i915/display/intel_ddi_mgr.h drivers/gpu/drm/i915/display/intel_display_core.h +3 more+139 -90 replies
9/13drm/i915/ddi_mgr: Register encoders with dynamic DDI supportdrivers/gpu/drm/i915/display/intel_atomic.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_ddi_mgr.c +1 more+98 -30 replies
10/13drm/i915/ddi_mgr: Keep AUX access consistent with DDI pool routesdrivers/gpu/drm/i915/display/intel_ddi_mgr.c drivers/gpu/drm/i915/display/intel_ddi_mgr.h drivers/gpu/drm/i915/display/intel_dp_aux.c+26 -10 replies
11/13drm/i915/ddi_mgr: Verify and restore DDI allocations after runtime resumedrivers/gpu/drm/i915/display/intel_ddi_mgr.c drivers/gpu/drm/i915/display/intel_ddi_mgr.h drivers/gpu/drm/i915/display/intel_display.c +3 more+174 -21 reply
12/13drm/i915/ddi_mgr: Handle DDI pool system suspend and resumedrivers/gpu/drm/i915/display/intel_ddi_mgr.c drivers/gpu/drm/i915/display/intel_ddi_mgr.h drivers/gpu/drm/i915/display/intel_display_driver.c +6 more+117 -01 reply
13/13drm/i915/ddi_mgr: Enable dynamic DDI allocation at loaddrivers/gpu/drm/i915/display/intel_display_driver.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] drm/i915/ddi_mgr: Add support for dynamic DDI allocation

This series adds support for dynamic DDI allocation on NVL+. This allows a system to have more connectors than DDI HW resources by allocating DDIs to connectors on demand.

The approach is described in "drm/i915/ddi_mgr: Add support for dynamic DDI allocation".

For now, legacy DDIs are inherited from BIOS or allocated only during driver loading and system resume. Runtime reallocation support will be added in a follow-up series.

Imre Deak (13):
drm/i915/dp: Allow rebuilding the source rate list drm/i915/hotplug: Set detector enable bits without a clear mask drm/i915/nvl+: Add support for remapping logical HPD pins to HW pins drm/xe/display: Distinguish failed system suspend recovery drm/i915/gmbus: Extract a helper for Type-C DDC pin mapping drm/i915/ddi_mgr: Add support for dynamic DDI allocation drm/i915/gmbus: Extract adapter creation and destruction drm/i915/gmbus: Add stable DDC adapters for the DDI pool drm/i915/ddi_mgr: Register encoders with dynamic DDI support drm/i915/ddi_mgr: Keep AUX access consistent with DDI pool routes drm/i915/ddi_mgr: Verify and restore DDI allocations after runtime
resume
drm/i915/ddi_mgr: Handle DDI pool system suspend and resume drm/i915/ddi_mgr: Enable dynamic DDI allocation at load

 drivers/gpu/drm/i915/Makefile                 |    1 +
 drivers/gpu/drm/i915/display/intel_atomic.c   |    4 +
 drivers/gpu/drm/i915/display/intel_ddi.c      |   18 +-
 drivers/gpu/drm/i915/display/intel_ddi_mgr.c  | 1107 +++++++++++++++++
 drivers/gpu/drm/i915/display/intel_ddi_mgr.h  |   32 +
 .../gpu/drm/i915/display/intel_ddi_mgr_regs.h |   40 +
 drivers/gpu/drm/i915/display/intel_display.c  |   12 +-
 .../gpu/drm/i915/display/intel_display_core.h |    8 +
 .../drm/i915/display/intel_display_driver.c   |    5 +
 drivers/gpu/drm/i915/display/intel_dp.c       |   16 +-
 drivers/gpu/drm/i915/display/intel_dp.h       |    2 +
 drivers/gpu/drm/i915/display/intel_dp_aux.c   |   15 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |  214 +++-
 drivers/gpu/drm/i915/display/intel_gmbus.h    |    6 +
 drivers/gpu/drm/i915/display/intel_hdmi.c     |   19 +-
 .../gpu/drm/i915/display/intel_hotplug_irq.c  |  127 +-
 .../gpu/drm/i915/display/intel_hotplug_irq.h  |    4 +
 drivers/gpu/drm/i915/display/intel_tc.c       |   46 +-
 drivers/gpu/drm/i915/display/intel_tc.h       |    1 +
 drivers/gpu/drm/i915/i915_driver.c            |    7 +
 drivers/gpu/drm/xe/Makefile                   |    1 +
 drivers/gpu/drm/xe/display/xe_display.c       |   16 +-
 drivers/gpu/drm/xe/display/xe_display.h       |    4 +-
 drivers/gpu/drm/xe/xe_device.c                |    4 +-
 24 files changed, 1621 insertions(+), 88 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_ddi_mgr.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_ddi_mgr.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_ddi_mgr_regs.h
Signature · 1 line
2.49.1