Skip to content

Implement Wa_14021768792 to bypass m_n ratio limit

Suraj Kandpal intel-gfx intel-xe 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest14 patches 5 repliesIn review
  2. v713 patches 9 repliesSuperseded
  3. v6 posting 2/211 patches 5 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v6 posting 1/211 patches2 repliesSuperseded
v5 posting 2/211 patches0 repliesSuperseded
v5 posting 1/20 of 10 patches0 repliesSuperseded
v410 patches17 repliesSuperseded
v310 patches1 replySuperseded
v210 patches0 repliesSuperseded
v110 patches7 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm/i915/display: Add helper to compute link M/N ratio for reusedrivers/gpu/drm/i915/display/intel_display.c+11 -40 replies
2/14drm/i915/dp: Limit M/N ratio for DPdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display.h drivers/gpu/drm/i915/display/intel_dp.c+121 -20 replies
3/14drm/i915/display_wa: Add support for Wa_14014191401drivers/gpu/drm/i915/display/intel_display_wa.c drivers/gpu/drm/i915/display/intel_display_wa.h drivers/gpu/drm/i915/display/intel_dp.c+5 -10 replies
4/14drm/i915/dp_mst: Limit M/N ratio for MSTdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+10 -31 reply
5/14drm/i915/dp: Add M/N ratio check for DP link configdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+23 -00 replies
6/14drm/i915/display: Add bits for link_n_extended for DISPLAY >= 14drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_regs.h+18 -20 replies
7/14drm/i915/display_wa: Add support for Wa_14021768792drivers/gpu/drm/i915/display/intel_display_wa.c drivers/gpu/drm/i915/display/intel_display_wa.h+10 -00 replies
8/14drm/i915/display: Add bits for Wa_14021768792 for linkm/n ratio > 10drivers/gpu/drm/i915/display/intel_display_regs.h+10 -01 reply
9/14drm/i915/display: Program Wa_14021768792 for linkm/n ratio > 10drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_types.h+36 -11 reply
10/14drm/i915/display: Read back and compare Wa_14021768792 statedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display.h+49 -01 reply
11/14drm/i915/display: Dump bypass_m_n_ratio_limit in the crtc state dumpdrivers/gpu/drm/i915/display/intel_crtc_state_dump.c+4 -20 replies
12/14drm/i915/display: Implement Wa_14021768792 for BMG DP for link_m/n ratio > 10drivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h+24 -60 replies
13/14drm/i915/dp: Extend intel_dp_can_support_m_n() for BMG M/N bypassdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp.h drivers/gpu/drm/i915/display/intel_dp_mst.c+24 -71 reply
14/14drm/i915/dp: Bump the max Link M/N ratio to 22 for DISPLAY_VER >= 35drivers/gpu/drm/i915/display/intel_dp.c+3 -00 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchMitul Golani
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 00/14] Implement Wa_14021768792 to bypass m_n ratio limit

For Platforms that support higher link rates, there is a limitation on Link M /Link N ratio.
If the CEILING( Link M / Link N ) ratio is greater than 10.0, then hardware cannot support the given resolution / refresh rate at the given configuration.
For BMG Wa_14021768792 helps to bypass this limitation and allows it to support the ratio till 15.0.

This series adds the missing restrictions for earlier platforms and adds the Wa_14021768792 for BMG as per Bspec:49266

Ankit Nautiyal (7):
drm/i915/display: Add helper to compute link M/N ratio for reuse drm/i915/dp_mst: Limit M/N ratio for MST
drm/i915/dp: Add M/N ratio check for DP link config drm/i915/display: Add bits for link_n_extended for DISPLAY >= 14 drm/i915/display_wa: Add support for Wa_14021768792 drm/i915/display: Implement Wa_14021768792 for BMG DP for link_m/n

    ratio > 10

drm/i915/dp: Extend intel_dp_can_support_m_n() for BMG M/N bypass

Suraj Kandpal (7):
drm/i915/dp: Limit M/N ratio for DP
drm/i915/display_wa: Add support for Wa_14014191401 drm/i915/display: Add bits for Wa_14021768792 for linkm/n ratio > 10 drm/i915/display: Program Wa_14021768792 for linkm/n ratio > 10 drm/i915/display: Read back and compare Wa_14021768792 state drm/i915/display: Dump bypass_m_n_ratio_limit in the crtc state dump drm/i915/dp: Bump the max Link M/N ratio to 22 for DISPLAY_VER >= 35

 .../drm/i915/display/intel_crtc_state_dump.c  |   6 +-
 drivers/gpu/drm/i915/display/intel_display.c  | 113 +++++++++++-
 drivers/gpu/drm/i915/display/intel_display.h  |   4 +
 .../gpu/drm/i915/display/intel_display_regs.h |  12 ++
 .../drm/i915/display/intel_display_types.h    |   2 +
 .../gpu/drm/i915/display/intel_display_wa.c   |  11 ++
 .../gpu/drm/i915/display/intel_display_wa.h   |   2 +
 drivers/gpu/drm/i915/display/intel_dp.c       | 173 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_dp.h       |   8 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   7 +
 10 files changed, 329 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1