From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: "Achim Löbbert" <aloebbert@gmx.de>
Cc: linux-usb@vger.kernel.org, Mario Limonciello <superm1@kernel.org>
Subject: Re: [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4)
Date: Fri, 27 Nov 2026 06:35:24 +0100 [thread overview]
Message-ID: <20261127053524.GC953667@black.igk.intel.com> (raw)
In-Reply-To: <bnvmvVhIQ2O8wiVp9S1lyw@gmx.de>
Hi,
On Thu, Nov 26, 2026 at 05:59:26PM +0100, Achim Löbbert wrote:
> Hi Mika,
>
> On Thursday, 26. November 2026 13:27:15 CET Mika Westerberg wrote:
> > Hi,
> >
> > On Thu, Nov 26, 2026 at 09:53:05AM +0100, Achim Löbbert wrote:
> > > > Can you provide full dmesg without anything non-standard, except
> > > > "thunderbolt.dyndbg=+p" in the command line?
> > > >
> > > > Once the host router (well any router) is enumerated during resume it is
> > > > expected to send plug events to the DP IN adapters that are available
> > > > for
> > > > tunneling. That does not seem to happen here but it would be good to see
> > > > the full dmesg first.
> > >
> > > Hi Mika,
> > >
> > > please find attached full dmesg log with command line changed as
> > > requested.
> > > Still have a black screen after resume, until a manual re-bind of
> > > 0000:71:00.
> > Thanks! I can see that the ASMedia controller does not send plug events to
> > its DP IN adapters at all. My interpretation of the spec is that it should
> > do that but I think we can fix this with something like below. Can you try
> > it?
> >
> > I haven't tried on Intel hardware yet so if this works for you we should
> > still check for both AMD/Intel that nothing breaks.
> >
> > diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
> > index 4db25062b5e5..964191a1e0ab 100644
> > --- a/drivers/thunderbolt/tb.c
> > +++ b/drivers/thunderbolt/tb.c
> > @@ -3198,6 +3198,8 @@ static void tb_restore_children(struct tb_switch *sw)
> > if (tb_enable_tmu(sw))
> > tb_sw_warn(sw, "failed to restore TMU configuration\n");
> >
> > + tb_add_dp_resources(sw);
> > +
> > tb_switch_configuration_valid(sw);
> >
> > tb_switch_for_each_port(sw, port) {
>
> thank you for looking into this and sending the patch. The patch failed to
> apply against 7.4-rc4 (line numbers seem to differ, but it was easy to edit).
>
> With that change the screen came up within a few seconds after 1st suspend/
> resume cycle after boot, much faster than the workaround using unbind on
> suspend and rebind on resume where it took randomly between 20-50 seconds,
> measured after wakeup key press. The unbind/bind workaround is robust, though.
>
> With your change, on the second and most of the following suspend/resume
> cycles the screen stays black again, unfortunately. In that state when waiting
> for a couple of minutes, monitor backlight suddenly turns on by itself w/o any
> keystroke and when pressing a key at that moment, video signal sometimes is
> back instantly, sometimes not at all. Pretty sure this was not observed with
> the unbind/bind workaround.
>
> New dmesg attached with your change showing 1st successful suspend/resume
> cycle after boot with video displayed, followed by a couple of resumes ending
> in just black screens.
From the dmesg you shared, the DP tunnel is up an running (you can also see
that from by running tbtunnels from [1]). Why the graphics driver is not
showing anything is beyond me. Depending on userspace, you may need to
enable the outputs via xrandr.
[1] https://github.com/intel/tbtools
next prev parent reply other threads:[~2026-11-27 5:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:10 [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4) Achim Löbbert
2026-11-26 7:31 ` Mika Westerberg
2026-11-26 8:53 ` Achim Löbbert
2026-11-26 12:27 ` Mika Westerberg
2026-11-26 16:59 ` Achim Löbbert
2026-11-27 5:35 ` Mika Westerberg [this message]
2026-11-27 18:13 ` Achim Löbbert
2026-11-29 3:36 ` Mario Limonciello
2026-11-30 19:16 ` Achim Löbbert
2026-12-01 4:29 ` Mario Limonciello
2026-12-01 14:45 ` Achim Löbbert
2026-12-01 14:53 ` Mario Limonciello
2026-12-01 17:24 ` Achim Löbbert
2026-12-01 17:36 ` Mario Limonciello
2026-12-01 19:17 ` Achim Löbbert
2026-12-01 19:59 ` Mario Limonciello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127053524.GC953667@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=aloebbert@gmx.de \
--cc=linux-usb@vger.kernel.org \
--cc=superm1@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.