Skip to content

Fix C10/C20 implementation w.r.t. owned PHY lanes

Gustavo Sousa intel-gfx 2 versions – Applied

Status from this message: Applied to drm-intel-next. Thanks for the patches and reviews.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Make condition for selecing PHY lane mask more clear in patch #2.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4drm/i915/cx0: Add intel_cx0_get_owned_lane_mask()drivers/gpu/drm/i915/display/intel_cx0_phy.c+27 -170 replies
2/4drm/i915: Simplify intel_cx0_program_phy_lane() with loopdrivers/gpu/drm/i915/display/intel_cx0_phy.c+20 -591 reply
3/4drm/i915/cx0: Enable/disable TX only for owned PHY lanesdrivers/gpu/drm/i915/display/intel_cx0_phy.c+6 -30 replies
4/4drm/i915/cx0: Program vswing only for owned lanesdrivers/gpu/drm/i915/display/intel_cx0_phy.c+14 -110 replies

Reviews trailers per patch

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

PatchMika Kahola
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [Intel-gfx] [PATCH v2 0/4] Fix C10/C20 implementation w.r.t. owned PHY lanes

While 619a06dba6fa ("drm/i915/mtl: Reset only one lane in case of MFD") fixes the problem for lane reset logic, there are also more parts of the implementation that need to take owned PHY lanes into consideration.

This series provides fixes for such places. The changes to the logic have been tested on a machine with a Type-C connection in DP-Alt mode using pin assignment D. In that mode, only PHY lane 0 is owned by display and, without these fixes, we get message bus timeout errors because we try to perform reads/writes on registers for the not-owned PHY.

v2:
- Make condition for selecing PHY lane mask more clear in patch #2.

    (Jani)

Gustavo Sousa (4):
drm/i915/cx0: Add intel_cx0_get_owned_lane_mask() drm/i915: Simplify intel_cx0_program_phy_lane() with loop drm/i915/cx0: Enable/disable TX only for owned PHY lanes drm/i915/cx0: Program vswing only for owned lanes

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 155 ++++++++-----------
 1 file changed, 66 insertions(+), 89 deletions(-)
Signature · 1 line
2.41.0