[PATCH v2 00/12] drm/i915/dp_mst: Add support for fractional link bpps

Imre Deak imre.deak at intel.com
Mon Apr 28 13:31:11 UTC 2025


This is v2 of [1], with the following changes:

- Add the debugfs entry to force a link bpp from
  intel_connector_debugfs_add(). (Jani, patch 11)
- Fix division wrt. 32 bit builds and overflow in the force link bpp
  debugfs entry. (patch 11)
- Enable fractional bpps only if the link bpp is forced, leaving the
  enabling of this for later, after more testing of this functionality
  within commonly used MST monitors and docks. (patch 12)
- Move the dp and hdmi connector->intel_connector refactoring into a
  separate patchset.

Cc: Jani Nikula <jani.nikula at intel.com>

[1] https://lore.kernel.org/all/20250408214342.1953197-1-imre.deak@intel.com

Imre Deak (12):
  drm/i915/dp_mst: Use the correct connector while computing the link
    BPP limit on MST
  drm/i915/dp_mst: Simplify handling the single-bpp case during state
    computation
  drm/i915/dp_mst: Validate compressed bpp vs. platform restrictions
  drm/i915/dp_mst: Update the total link slot count early
  drm/i915/dp_mst: Check BW limit on the local MST link early
  drm/i915/dp_mst: Simplify computing the min/max compressed bpp limits
  drm/i915/dp: Limit max link bpp properly to a fractional value on SST
  drm/i915/dp_mst: Add support for fractional compressed link bpps on
    MST
  drm/i915/display: Factor out intel_display_{min,max}_pipe_bpp()
  drm/i915/dp: Export intel_dp_dsc_min_src_compressed_bpp()
  drm/i915: Add support for forcing the link bpp on a connector
  drm/i915/dp_mst: Enable fractional link bpps on MST if the bpp is
    forced

 drivers/gpu/drm/i915/display/intel_display.c  |  28 ++-
 drivers/gpu/drm/i915/display/intel_display.h  |   3 +
 .../drm/i915/display/intel_display_debugfs.c  |   2 +
 .../drm/i915/display/intel_display_device.h   |   1 +
 .../drm/i915/display/intel_display_types.h    |   4 +
 drivers/gpu/drm/i915/display/intel_dp.c       |  48 ++--
 drivers/gpu/drm/i915/display/intel_dp.h       |   7 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  97 +++----
 drivers/gpu/drm/i915/display/intel_link_bw.c  | 238 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_link_bw.h  |   2 +
 10 files changed, 347 insertions(+), 83 deletions(-)

-- 
2.44.2



More information about the Intel-xe mailing list