Skip to content

drm/i915/tc: Fix a few TypeC / MST issues

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm/i915/tc: Abort DP AUX transfer on a disconnected TC portdrivers/gpu/drm/i915/display/intel_dp_aux.c drivers/gpu/drm/i915/display/intel_tc.c drivers/gpu/drm/i915/display/intel_tc.h+25 -64 replies
2/14drm/i915/tc: Fix TC port link ref init for DP MST during HW readoutdrivers/gpu/drm/i915/display/intel_tc.c+11 -93 replies
3/14drm/i915/tc: Fix the ICL PHY ownership check in TC-cold statedrivers/gpu/drm/i915/display/intel_tc.c+2 -21 reply
4/14drm/i915/tc: Fix system resume MST mode restore for DP-alt sinksdrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_tc.c+46 -32 replies
5/14drm/i915/tc: Wait for IOM/FW PHY initialization of legacy TC portsdrivers/gpu/drm/i915/display/intel_tc.c+17 -01 reply
6/14drm/i915/tc: Factor out helpers converting HPD mask to TC modedrivers/gpu/drm/i915/display/intel_tc.c+33 -111 reply
7/14drm/i915/tc: Fix target TC mode for a disconnected legacy portdrivers/gpu/drm/i915/display/intel_tc.c+11 -30 replies
8/14drm/i915/tc: Fix TC mode for a legacy port if the PHY is not readydrivers/gpu/drm/i915/display/intel_tc.c+2 -10 replies
9/14drm/i915/tc: Fix initial TC mode on disabled legacy portsdrivers/gpu/drm/i915/display/intel_tc.c+61 -60 replies
10/14drm/i915/tc: Make the TC mode readout consistent in all PHY statesdrivers/gpu/drm/i915/display/intel_tc.c+33 -100 replies
11/14drm/i915/tc: Assume a TC port is legacy if VBT says the port has HDMIdrivers/gpu/drm/i915/display/intel_ddi.c+7 -03 replies
12/14drm/i915: Add encoder hook to get the PLL type used by TC portsdrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_ddi.h drivers/gpu/drm/i915/display/intel_display_types.h+43 -20 replies
13/14drm/i915/tc: Factor out a function querying active links on a TC portdrivers/gpu/drm/i915/display/intel_tc.c+22 -133 replies
14/14drm/i915/tc: Check the PLL type used by an enabled TC portdrivers/gpu/drm/i915/display/intel_tc.c+25 -201 reply

Reviews trailers per patch

8 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChris ChiuJosé Roberto de SouzaVille SyrjäläMika KaholaAndrzej Hajda
SeriesR-b
1/14Reported-and-tested-by R-b R-b
2/14R-b
3/14R-b
4/14
5/14R-b
6/14R-b
7/14
8/14
9/14
10/14
11/14R-b
12/14
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 00/14] drm/i915/tc: Fix a few TypeC / MST issues

This patchset fixes a few issues on TypeC ports, related to the legacy port handling, HW state readout/verification. It also fixes an issue on TC port/MST outputs during system suspend/resume, where the modeset restoring the pre-suspend state fails atm.

Tested on ICL, TGL, ADLP.

Imre Deak (14):
drm/i915/tc: Abort DP AUX transfer on a disconnected TC port drm/i915/tc: Fix TC port link ref init for DP MST during HW readout drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks drm/i915/tc: Wait for IOM/FW PHY initialization of legacy TC ports drm/i915/tc: Factor out helpers converting HPD mask to TC mode drm/i915/tc: Fix target TC mode for a disconnected legacy port drm/i915/tc: Fix TC mode for a legacy port if the PHY is not ready drm/i915/tc: Fix initial TC mode on disabled legacy ports drm/i915/tc: Make the TC mode readout consistent in all PHY states drm/i915/tc: Assume a TC port is legacy if VBT says the port has HDMI drm/i915: Add encoder hook to get the PLL type used by TC ports drm/i915/tc: Factor out a function querying active links on a TC port drm/i915/tc: Check the PLL type used by an enabled TC port

 drivers/gpu/drm/i915/display/intel_ddi.c      |  44 ++-
 drivers/gpu/drm/i915/display/intel_ddi.h      |   3 +
 .../drm/i915/display/intel_display_types.h    |   6 +
 drivers/gpu/drm/i915/display/intel_dp_aux.c   |  15 +-
 drivers/gpu/drm/i915/display/intel_tc.c       | 319 ++++++++++++++----
 drivers/gpu/drm/i915/display/intel_tc.h       |   1 +
 6 files changed, 320 insertions(+), 68 deletions(-)
Signature · 1 line
2.37.1