Bug 2573061

Summary: amdgpu: Synaptics MST/DSC on Lenovo TB4 dock blanks externals on lid close / high-rate modeset (F44→F45 regression)
Product: [Fedora] Fedora Reporter: Thibaut Perrin <tperrin>
Component: kernelAssignee: Justin M. Forbes <jforbes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 45CC: acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7
Target Milestone: ---Keywords: Desktop, Regression, Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-17 08:21:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thibaut Perrin 2026-11-13 10:19:49 UTC
Description of problem:
After upgrading Fedora 44 → 45, dual external monitors on a Lenovo ThinkPad Thunderbolt 4 Dock lose signal when the laptop lid is closed (clamshell, no suspend), or when enabling Dell 3440x1440@144 + Samsung 3840x2160@60.

DRM still reports connectors enabled/dpms=On. Re-opening the lid often restores the image (DSC disable path). Booting with lid closed can leave both externals dead after GDM/session start until a dock unplug/replug and/or dropping to 60Hz.

This worked on Fedora 44 (kernel 7.2.x, mutter ~50.6) with the same hardware:
Dell@144 + Samsung 4K60 in clamshell.

Version-Release number of selected component:
kernel-7.3.3-300.fc45.x86_64
mutter-51.1-1.fc45 / gnome-shell-51.1-1.fc45

How reproducible:
Always on this machine with this dock + dual external layout.

Steps to Reproduce:
1. ThinkPad P16v Gen 1 (AMD Phoenix / Radeon 780M), Lenovo ThinkPad Thunderbolt 4 Dock
2. Dell S3422DWG 3440x1440@144 + Samsung 3840x2160@60 via dock MST
3. Close lid (HandleLidSwitchDocked=ignore / no suspend); or boot lid-closed then log in
4. Observe externals go blank; journal shows MST_DSC Send DSC enable to synaptics
   (and often WARNING allocate_mst_payload)

Actual results:
No signal on externals. DRM: enabled + dpms=On. Hub appears stuck after DSC renegotiation. Opening lid may send DSC disable and restore (not always after cold lid-closed boot).

Expected results:
Same as F44: Dell@144 + Samsung 4K60 remain lit in clamshell; no broken DSC toggle.

Additional info:

Hardware:
- Lenovo ThinkPad P16v Gen 1 (21FFS02H28), BIOS N3VET65W (1.65)
- GPU: AMD Ryzen with Radeon 780M (amdgpu)
- Dock: Lenovo ThinkPad Thunderbolt 4 Dock (thunderbolt vendor=0x108 device=0x2031)
- MST: [drm] Synaptics Cascaded MST hub (branch oui/id 90CC24, SYNAS, hw 1.0 sw 5.7)

Software evidence:
- F44 long boot (7.2.x): Lid closed events without following "MST_DSC Send DSC enable"
- F45 (7.3.3): every lid close correlates with immediate MST_DSC Send DSC enable;
  lid open with Send DSC disable
- amdgpu.dcdebugmask=0x4 (DC_DISABLE_DSC): no DSC toggle on lid close; clamshell OK
  but Dell@144 + Samsung 4K60 cannot fit without DSC → must run Dell@60
- Soft-disable eDP via gdctl (lid open) ≠ same failure; lid-close / session modeset
  DSC renegotiation is what breaks the Synaptics hub
- debugfs dsc_clock_en=1 on both MST connectors: DSC activates on Dell only;
  Samsung stays dsc_clock_en=0 (sink may not advertise DSC; hub does decompression)
  → 144+4K60 still blanks Samsung

Root cause analysis (code):
- wa_flags.dpia_mst_dsc_always_on exists for USB4 DPIA Synaptics 90CC24 but:
  1) gated on HW rev 2.0 or vendor hub id 0x5A (Cascaded logs 0x5A, yet)
  2) the flag is set in link_detection.c and never consumed by MST DSC fairness
     (force_dsc_when_not_needed is never set from it)
- compute_mst_dsc_configs_for_link still "Try no compression" then   try_disable_dsc(); sinks behind cascaded hubs without is_dsc_supported stay  uncompressed and starve bandwidth / trigger bad DPCD DSC enable/disable

Workaround:
amdgpu.dcdebugmask=0x4 and lock Dell to 60Hz (+ Samsung 4K60).

Proposed fix direction:
1) Apply dpia_mst_dsc_always_on for all Synaptics 90CC24 with DSC (incl. HW 1.0)
2) In compute_mst_dsc_configs_for_link: if always_on, force DSC on all MST streams    on that link (including borrowing hub/sibling dsc_dec_caps when sink does not advertise DSC) and skip try_disable_dsc

Happy to attach journal excerpts, patch draft, and abrt/sos if useful.

Reproducible: Always

Comment 1 Thibaut Perrin 2026-11-17 08:21:18 UTC

*** This bug has been marked as a duplicate of bug 2564724 ***