Skip to content

drm/i915/tc: Prevent system hang when modesetting disconnected Type-C ports (v2)

Vivek Kasireddy intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesIn review
  2. v12 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/i915/tc: Don't default disconnected legacy Type-C ports to TBT mode (v2)drivers/gpu/drm/i915/display/intel_tc.c+2 -11 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAndrzej Hajda
1/1R-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/1] drm/i915/tc: Prevent system hang when modesetting disconnected Type-C ports (v2)

The following patch tries to prevent a system hang when a modeset is forced by userspace (Weston) on legacy Type-C ports that are disconnected. This issue was accidentally discovered while trying to modeset one of the HDMI ports on the TGL based Gigabyte system
(https://www.gigabyte.com/Mini-PcBarebone/GB-BSi3-1115G4-rev-10#ov)
using the following Weston settings (configured via weston.ini):

[output]
name=HDMI-A-3
mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync force-on=true

Entering the name of the HDMI connector incorrectly above (for example HDMI-A-3 (disconnected) instead of HDMI-A-2 (connected)) lead to warnings in the log followed by a system hang. To fix this issue, the following patch prevents the selection of TBT PLL for legacy Type-C ports.

v2: Drop the second patch (that rejects modesets on disconnected tc ports) from this series.

Cc Imre Deak <[email protected]>
Cc José Roberto de Souza <[email protected]>
Cc Ville Syrjälä <[email protected]>

Vivek Kasireddy (1):
drm/i915/tc: Don't default disconnected legacy Type-C ports to TBT

    mode (v2)
 drivers/gpu/drm/i915/display/intel_tc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1