From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Alfonso Villalobos <alfonsocvu@gmail.com>
Cc: sashiko-reviews@lists.linux.dev, westeri@kernel.org,
linux-usb@vger.kernel.org, andreas.noever@gmail.com,
YehezkelShB@gmail.com, stable@vger.kernel.org
Subject: Re: [PATCH] thunderbolt: Re-add host router DP IN adapters after DPRX failure
Date: Wed, 25 Nov 2026 08:44:28 +0100 [thread overview]
Message-ID: <20261125074428.GB191152@black.igk.intel.com> (raw)
In-Reply-To: <CAJ=mrFqe1ujyq5oX==HQ8MsBRNb_64dPZz7aHg5LYBYtKVOGvg@mail.gmail.com>
Hi,
On Tue, Nov 24, 2026 at 07:22:37PM -0600, Alfonso Villalobos wrote:
> Thanks for the details.
>
> > Does the RX 9070 driver poll for a new connections periodically like the
> > i915/xe or it supports PME?
>
> It doesn't poll. When I looked into adding it, the GPU had no way to
> check the connectors without taking the core out of suspend. After a
> wake it stays on for about 5s, so polling every 10s would eat most of
> the savings BACO is supposed to give. I haven't actually measured it.
>
> The card does support PME, but in my testing a hotplug on the TB side
> doesn't wake it up. From the amdgpu code, PME seems to be used for the
> audio function and only while the card is active.
>
> So I think the problem has two parts. On the GPU side, PME wake on DP
> hotplug looks like a firmware limitation. I'll share my findings with
> AMD and see what can be done there, but I'm not sure how much I can do
> from here. On the TB side, the host router never sent a new hotplug
> for 0:10 after the DPRX failure, so I still think the patch is useful.
It should send hotplug when the domain is resumed and the host router is
re-enumerated. However, that requires the domain actually be runtime
suspended as well. In this case I think setting dprx_timeout=-1 or
something like that works it around at least.
What we could do to improve this is that we put the DP IN to "penalty" list
then once we get new DP OUT hotplug/unplug we prioritize the DP INs that
are available but if there are no available ones we take one from that list
then or so. Note this needs to work with DP INs on any router not just the
host router.
prev parent reply other threads:[~2026-11-25 7:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 7:08 [PATCH] thunderbolt: Re-add host router DP IN adapters after DPRX failure Alfonso Villalobos Ulate
2026-11-21 7:25 ` sashiko-bot
2026-11-21 15:03 ` Alfonso Villalobos
2026-11-21 15:07 ` Alfonso Villalobos
2026-11-23 5:40 ` Mika Westerberg
2026-11-25 1:22 ` Alfonso Villalobos
2026-11-25 7:44 ` Mika Westerberg [this message]
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=20261125074428.GB191152@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=YehezkelShB@gmail.com \
--cc=alfonsocvu@gmail.com \
--cc=andreas.noever@gmail.com \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=westeri@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.