Bug 2564724 - External DisplayPort monitor via Thunderbolt 5 dock fails to link-train ("[DPRX] Max loop count reached") on kernel 7.3.0/7.3.1 (regression, works on 7.2.13)
Summary: External DisplayPort monitor via Thunderbolt 5 dock fails to link-train ("[DP...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 45
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2184978
TreeView+ depends on / blocked
 
Reported: 2026-11-02 08:22 UTC by pstourac
Modified: 2026-11-09 08:44 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description pstourac 2026-11-02 08:22:18 UTC
## Description of problem

On kernel 7.3.0 and 7.3.1, an external monitor connected through a
Thunderbolt 5 dock never displays an image. The i915 DRM driver repeatedly
fails DisplayPort link training on the Type-C/Thunderbolt DDI the dock is
attached to, logging "[DPRX] Max loop count reached" in a loop; the monitor
stays blank indefinitely.

The same hardware and dock work correctly on kernel 7.2.13-300.fc45 — no
DPRX errors appear and the external display comes up normally. This is a
regression introduced somewhere between 7.2.13 and 7.3.0.

An identical symptom (same dock model, same CPU family, same connector/DDI)
is already tracked upstream in a community kernel's issue tracker — see
"See Also" above — confirmed there as a regression between kernel 6.18.55
(works) and 7.2.9+ (broken), reproducing through 7.3.0. No fix has landed
yet as of this report.

## Version-Release number of selected component (if applicable)

kernel-7.3.0-200.fc45.x86_64
kernel-7.3.1-200.fc45.x86_64

(working reference: kernel-7.2.13-300.fc45.x86_64)

## How reproducible

Always (3/3 affected boots: 2x on 7.3.0, 1x on 7.3.1). Confirmed not present
on 1/1 boot of 7.2.13 tested back-to-back on the same hardware/dock/monitor.

## Steps to Reproduce

1. Boot Fedora 45 on the affected hardware (see "Additional info") with
   kernel 7.3.0 or 7.3.1.
2. Have a monitor connected to a DisplayPort output of a Thunderbolt 5 dock
   (Lenovo ThinkPad Thunderbolt 5 Smart Dock 7500), dock attached before or
   after boot.
3. Observe the external monitor output.

## Actual results

Monitor stays blank. `journalctl -k` shows repeated:

```
i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:557:DP-4][ENCODER:556:DDI TC3/PHY TC3][DPRX] Max loop count reached
i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:557:DP-4][ENCODER:556:DDI TC3/PHY TC3][DPRX] Max loop count reached
i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
```

On one 7.3.0 boot, the dock also briefly dropped off and failed to fully
re-establish its Thunderbolt tunnels on reconnect:

```
thunderbolt 1-1: device disconnected
thunderbolt 1-1: new device found, vendor=0x108 device=0x234d
thunderbolt 1-1: Lenovo ThinkPad Thunderbolt 5 Smart Dock 7500 - 40BA
thunderbolt 0000:8a:00.0: 1: failed to enable CL states
thunderbolt 0000:8a:00.0: 1: failed to enable TMU
thunderbolt 0000:8a:00.0: 1: USB3 tunnel creation failed
thunderbolt 0000:8a:00.0: 1:9: PCIe tunnel activation failed, aborting
thunderbolt 1-1: device disconnected
```

This may be a separate Thunderbolt-layer bug (possibly related to an
in-flight upstream fix for `tb_find_pcie_down()` misidentifying an
already-mapped PCIe port as free on Thunderbolt 5/Panther Lake controllers,
currently discussed for a post-resume scenario rather than cold boot).

## Expected results

External monitor connected via the Thunderbolt dock displays an image, as
it does on kernel 7.2.13.

## Additional info

Hardware:
- Machine: Lenovo ThinkPad P1 Gen 8
- BIOS: N4EET25W (1.11), released 2026-09-01
- CPU: Intel Core Ultra 7 265H
- GPU: Intel integrated graphics, Arc Pro 130T/140T, PCI ID [8086:7d51] (rev 03)
  — i915 log reports platform name "meteorlake" for this PCI ID, which may
  itself be worth flagging as a possible platform-name/PCI-ID table mismatch.
- Thunderbolt host controllers: Intel "Barlow Ridge" Thunderbolt 5 80/120G
  (JHL9580 Host NHI [8086:5781], JHL9480 Hub [8086:5786])
- Dock: Lenovo ThinkPad Thunderbolt 5 Smart Dock 7500 (USB VID:PID 17EF:310D,
  Thunderbolt vendor=0x108 device=0x234d)
- Monitor connected to one of the dock's DisplayPort outputs

Kernel/package info:
```
$ uname -m
x86_64
$ cat /etc/fedora-release
Fedora release 45 (Forty Five)
$ rpm -q kernel kernel-core
kernel-7.2.13-300.fc45.x86_64        (working, current)
kernel-core-7.2.13-300.fc45.x86_64
(kernel-7.3.0-200.fc45.x86_64 and kernel-7.3.1-200.fc45.x86_64 were installed
and tested, then removed after confirming the regression)
```

Comparison log, working kernel (7.2.13) for the same connector/dock: no
"[DPRX] Max loop count reached" errors occur during dock/monitor
enumeration. The only i915 errors on 7.2.13 are unrelated later MST
bandwidth-allocation retries ("Failed to get ACT after 3000 ms", "Sending
link address failed with -5"), which do not block the display from coming
up.

Can provide on request: full `journalctl -k -b <id>` captures for the
affected boots, `boltctl` output, `drm_info`/`intel_gpu_top` dumps.

Related upstream/community report (same dock, same error):
https://github.com/CachyOS/distribution/issues/624

Reproducible: Always

Comment 1 pstourac 2026-11-09 08:44:21 UTC
## Summary of update

Confirming this regression is still present on **kernel-7.3.3-300.fc45.x86_64**
(latest Fedora 45 kernel as of 2026-11-09), so it's not fixed by 7.3.2/7.3.3.
Also have new data that isolates the fault specifically to the dock's
Thunderbolt/Type-C DDI path, not to the GPU's DP output logic in general.

## Kernel/firmware tested

```
kernel-7.3.3-300.fc45.x86_64 (built 2026-11-06)
BIOS N4EET25W (1.11), released 2026-09-01   -- unchanged since original report
```

## 1. Regression still reproduces, now on a different DDI/port

On today's boot the error again occurs during boot-time dock/monitor
enumeration, but this time on **DDI TC4** instead of **DDI TC3** as in the
original report — i.e. the bug is not pinned to one specific Type-C
lane/connector on the dock, any TB-tunneled DP output of the dock can hit it:

```
2026-11-09T08:56:32+01:00 kernel: thunderbolt 1-1: new device found, vendor=0x108 device=0x234d
2026-11-09T08:56:32+01:00 kernel: thunderbolt 1-1: Lenovo ThinkPad Thunderbolt 5 Smart Dock 7500 - 40BA
2026-11-09T08:56:32+01:00 kernel: i915 0000:00:02.0: [drm] Found meteorlake (device ID 7d51) integrated display version 14.00 stepping D0
2026-11-09T08:56:34+01:00 kernel: i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
2026-11-09T08:56:35+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:566:DP-5][ENCODER:565:DDI TC4/PHY TC4][DPRX] Max loop count reached
2026-11-09T08:56:36+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:566:DP-5][ENCODER:565:DDI TC4/PHY TC4][DPRX] Max loop count reached
2026-11-09T08:56:37+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:566:DP-5][ENCODER:565:DDI TC4/PHY TC4][DPRX] Max loop count reached
```

## 2. New symptom: kernel WARNING during automatic link-retrain retries

Roughly 8 and 12 minutes after boot, the driver's automatic link-check/retrain
path (`intel_encoder_link_check_work_fn` → `intel_dp_retrain_link`) hit the
same DPRX condition again, but this time also tripped a kernel WARN while
tearing down the transcoder (timeout waiting for pipe-off), followed by a
display FIFO underrun on the affected pipe:

```
2026-11-09T09:04:12+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:566:DP-5][ENCODER:565:DDI TC4/PHY TC4][DPRX] Max loop count reached
2026-11-09T09:04:12+01:00 kernel: i915 0000:00:02.0: [drm] pipe_off wait timed out
2026-11-09T09:04:12+01:00 kernel: WARNING: drivers/gpu/drm/i915/display/intel_display.c:361 at intel_disable_transcoder+0x2f3/0x3a0 [i915]
2026-11-09T09:04:12+01:00 kernel: Workqueue: display_unordered intel_encoder_link_check_work_fn [i915]
2026-11-09T09:04:12+01:00 kernel: RIP: 0010:intel_disable_transcoder+0x2f9/0x3a0 [i915]
2026-11-09T09:04:12+01:00 kernel:  mst_stream_post_disable+0x190/0x4f0 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_encoders_post_disable+0x72/0x90 [i915]
2026-11-09T09:04:12+01:00 kernel:  hsw_crtc_disable+0x66/0x150 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_old_crtc_state_disables+0xf0/0x1d0 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_commit_modeset_disables+0x42e/0x510 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_atomic_commit_tail+0x4d6/0xf50 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_atomic_commit+0x2ab/0x2f0 [i915]
2026-11-09T09:04:12+01:00 kernel:  drm_atomic_commit+0xb1/0xe0
2026-11-09T09:04:12+01:00 kernel:  intel_dp_retrain_link+0x171/0x310 [i915]
2026-11-09T09:04:12+01:00 kernel:  intel_dp_link_check+0x90/0xe0 [i915]
2026-11-09T09:04:12+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:566:DP-5][ENCODER:565:DDI TC4/PHY TC4][DPRX] Max loop count reached
2026-11-09T09:04:12+01:00 kernel: i915 0000:00:02.0: [drm] *ERROR* CPU pipe C FIFO underrun
2026-11-09T09:04:29+01:00 kernel: i915 0000:00:02.0: [drm] pipe_off wait timed out
```

A second, near-identical WARN/timeout sequence occurred again at 09:08:07–08
(same workqueue/call path, via `intel_ddi_post_disable_hdmi_or_sst` this
time), again ending in a pipe C FIFO underrun. After 09:08:08 no further DPRX
errors were logged for the rest of the session — the link eventually trained
successfully on its own, with no reboot, replug, or driver reload. So on
7.3.3 this presents less like a hard failure and more like an intermittent
link-training condition that can take several automatic retry cycles (roughly
12 minutes, 3 distinct retrain attempts in this case) to clear.

## 3. Isolation: fault is specific to the dock's TB-tunneled DP path

During the same boot, two other external displays were connected **without**
going through the dock's Thunderbolt DDIs:
- one plugged directly into a native USB-C port on the laptop,
- one plugged in via a plain USB-C-to-HDMI adapter (not the dock).

Both of those trained cleanly with **zero** DPRX/link-training errors logged
for the entire session. Only the display connected through the dock
(DDI TC4) produced the errors above. This points at the Thunderbolt-tunneled
DP link-training path specifically (dock + TB5 host controller + i915 TC PHY
handling), rather than at i915's DP driver code in general, cabling, or the
monitors themselves.

`boltctl` confirms the Thunderbolt tunnel itself was healthy throughout this
boot (dock authorized, USB4 generation, 80 Gb/s rx/tx, no PCIe/USB3 tunnel
failures) — unlike one boot in the original report where the TB tunnel also
failed to fully re-establish. This time the TB tunnel layer was fine; the
fault is purely in the i915 display/DPRX link-training layer on top of it.

## Net effect

- Regression confirmed present on kernel-7.3.0, 7.3.1, and now **7.3.3**.
- Not specific to one DDI/connector (seen on both TC3 and TC4).
- Behaves intermittently on 7.3.3: can self-recover after several automatic
  retrain cycles over ~10+ minutes without any user action.
- Root cause isolated to the Thunderbolt-tunneled DP link-training path for
  this dock; non-dock DP paths (native USB-C port, USB-C-to-HDMI adapter) on
  the same machine/session are unaffected.

Happy to attach full `journalctl -k -b 0` for this session, `boltctl list`
output, and `lsusb` if useful for triage.


Note You need to log in before you can comment on or make changes to this bug.