On 11/19/2026 7:54 PM, Joonhoe Kim wrote:
On Thu, 19 Nov 2026, Yongxing Mou wrote:
Add support for Multi-stream transport for MSM chipsets that allow
a single instance of DP controller to send multiple streams.

Hi Yongxing,

On v7 I reported that s2idle hangs on resume with MST active, and you
said I could send the fix. I will not have time to follow it up as a
separate patch, so here it is for you to take into the series if it is
useful.

The series never calls drm_dp_mst_topology_mgr_suspend() or
drm_dp_mst_topology_mgr_resume(). While MST is active the link is kept
up after the last stream is disabled, so system suspend powers the
controller down with link_ready still set; on resume the first stream
enable skips link training, and the payload table write hangs retrying
AUX over a link that is down.

The fix suspends the topology manager and takes the link down before the
controller is suspended, and on resume initializes the PHY again and
resumes the topology manager (turning MST off with a hotplug event if
the branch device is gone). The version on top of v7 of this series is
here:

https://github.com/joonhoekim/tb323fu-linux/blob/0e73bc96d65386bee31cc003f2e76a2e9623f631/kernel/patches/0202-drm-msm-dp-suspend-and-resume-the-MST-topology-acros.patch

With it, a Lenovo Y700 Gen 5 (TB323FU, Kaanapali) with two displays on
an MST hub resumed from s2idle 3 times out of 3. On v9,
msm_dp_display_unprepare() should move into the patch's
msm_dp_mst_suspend() and run under mst_lock, as
msm_dp_mst_stream_post_disable() holds that lock when it calls it. If
post_disable starts taking the link down after the last stream
(Sashiko's comment on 18/29), only the topology manager suspend/resume
part is still needed. Feel free to take it under your own name or keep
my authorship.

Thanks,
Joonhoe Kim
Hi Joonhoe,

Thanks a lot for your test and the patch. I can confirm it fixes the s2idle resume hang with MST active, and I will include it in v10. And will keep you as the author with your Signed-off-by.

Compared with v7, which your patch is based on, v10 changes when
msm_dp_display_unprepare() is called: the post_disable of the last MST
stream on the topology now calls it, so the link is already down by the
time the DP device suspends. The suspend path therefore no longer needs
to call msm_dp_display_unprepare() and only suspends/resumes the
topology manager, handling the PHY around it.

Once v10 is out, any further comments or testing on your side would be
very welcome.

Thanks,
Yongxing

Reply via email to