On Sun, Nov 01, 2026 at 11:35:33AM +0800, Xiao Lu wrote:
> drm/i915/dp_mst: Avoid the 3 s ACT timeouts after the upstream HPD drops

Tested on a ThinkPad P1 Gen 7 (Meteor Lake) with a Lenovo ThinkPad
Thunderbolt 4 Dock (Synaptics VMM6212 MST hub) driving a Samsung TV over
HDMI, Fedora 44 kernel 7.2.15-200.fc44 with drm_display_helper.ko and
i915.ko rebuilt with both patches. On 7.2 the intel_dp_retrain_link()
hunk of patch 2 applies to intel_dp.c instead of
intel_dp_link_training.c, with identical context.

Scenario: TV powered on from standby, which makes the dock drop the
upstream HPD and tears down the MST topology
(https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/17741).
Same day, drm.debug=0x104, times relative to "MST device may have
disappeared":

                                  unpatched        patched
  "Failed to get ACT after 3000"  3x               none
  forced retrain on stale pipe    yes (+2.14 s)    no
  new TV connector connected      +8.44 s          +2.48 s
  stream enabled on new connector +13.02 s         +6.61 s
  TV button to picture (by hand)  20.8 s           13.4 s

The ~2 s HPD drop from the dock is unchanged, as expected.

Tested-by: Alexon Oliveira <[email protected]>

Reply via email to