[Intel-gfx] [PATCH v2 00/11] drm/i915: Fix UHBR data, link M/N/TU and PBN values

Imre Deak imre.deak at intel.com
Thu Nov 16 13:18:30 UTC 2023


This is v2 of [1], with the following changes:
- Store the pbn_div value in fixed point format.
- Fix PBN calculation in patch 8.
- Reuse intel_dp_max_data_rate(), intel_dp_effective_data_rate() in
  intel_link_compute_m_n() (Jani).

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

Cc: Arun R Murthy <arun.r.murthy at intel.com>
Cc: Jani Nikula <jani.nikula at linux.intel.com>
Cc: Lyude Paul <lyude at redhat.com>

Imre Deak (11):
  drm/dp_mst: Store the MST PBN divider value in fixed point format
  drm/dp_mst: Fix PBN divider calculation for UHBR rates
  drm/dp_mst: Add kunit tests for drm_dp_get_vc_payload_bw()
  drm/i915/dp: Replace intel_dp_is_uhbr_rate() with
    drm_dp_is_uhbr_rate()
  drm/i915/dp: Account for channel coding efficiency on UHBR links
  drm/i915/dp: Fix UHBR link M/N values
  drm/i915/dp_mst: Calculate the BW overhead in
    intel_dp_mst_find_vcpi_slots_for_bpp()
  drm/i915/dp_mst: Fix PBN / MTP_TU size calculation for UHBR rates
  drm/i915/dp: Report a rounded-down value as the maximum data rate
  drm/i915/dp: Simplify intel_dp_max_data_rate()
  drm/i915/dp: Reuse intel_dp_{max,effective}_data_rate in
    intel_link_compute_m_n()

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   5 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c |   3 +-
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   |   5 +-
 drivers/gpu/drm/display/drm_dp_mst_topology.c |  31 +++-
 drivers/gpu/drm/i915/display/intel_display.c  |  51 ++----
 drivers/gpu/drm/i915/display/intel_dp.c       |  78 +++++++---
 drivers/gpu/drm/i915/display/intel_dp.h       |   5 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  55 +++++--
 drivers/gpu/drm/nouveau/dispnv50/disp.c       |   6 +-
 .../gpu/drm/tests/drm_dp_mst_helper_test.c    | 145 ++++++++++++++++++
 include/drm/display/drm_dp_helper.h           |  13 ++
 include/drm/display/drm_dp_mst_helper.h       |   7 +-
 12 files changed, 311 insertions(+), 93 deletions(-)

-- 
2.39.2



More information about the Intel-gfx mailing list