From: "Danilo Krummrich" <dakr@kernel.org>
To: "Daniel Almeida" <daniel.almeida@collabora.com>
Cc: "Onur Özkan" <work@onurozkan.dev>,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,
dri-devel@lists.freedesktop.org, aliceryhl@google.com,
airlied@gmail.com, simona@ffwll.ch, ojeda@kernel.org,
boqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com,
lossin@kernel.org, a.hindborg@kernel.org, tmgross@umich.edu
Subject: Re: [PATCH v3 3/3] drm/tyr: add GPU reset infrastructure
Date: Thu, 13 Aug 2026 00:12:45 +0200 [thread overview]
Message-ID: <DKNB6TU3BKUL.2ZELJAMKX3FK6@kernel.org> (raw)
In-Reply-To: <8BA7474C-3D1B-4C61-89B7-156A98AB63EE@collabora.com>
On Tue Aug 11, 2026 at 11:47 PM CEST, Daniel Almeida wrote:
> We have a lot of places in our downstream driver where it's not really clear
> whether an &IoMem<'bound> and etc will be available.
>
> E.g.: places like the submit path or the async vm_bind path, both invoked from
> the JobQueue, which runs on its own workqueue in our downstream implementation.
>
> i.e. when the JobQueue calls the driver's "submit to hardware" handler, Tyr needs an
> IoMem to perform the mapping in the vm_bind case, or to write the doorbell
> register in the submit case. Also places using delayed work, which is still
> restricted to 'static workqueues IIUC.
>
> That's what I meant by "Devres we will eventually need in the future". Perhaps
> there is a plan to relax the 'static requirement like what happened recently to
> the IRQ code? Because otherwise my suggestion would be try_access().
Yes, all driver API primitives will properly support this. Having to use
try_access() would be an indicator that something is wrong and we should
probably just remove it.
For instance, workqueue is already being addressed with scoped variants [1];
JobQueue should not have an unbounded lifetime either.
[1] https://lore.kernel.org/all/20260807165252.3849875-1-dakr@kernel.org/
next prev parent reply other threads:[~2026-08-12 22:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 11:43 [PATCH v3 0/3] implement GPU reset API Onur Özkan
2026-07-08 11:43 ` [PATCH v3 1/3] rust: workqueue: impl Send and Sync for OwnedQueue Onur Özkan
2026-08-10 18:29 ` Daniel Almeida
2026-07-08 11:43 ` [PATCH v3 2/3] drm/tyr: clear stale IRQ state before soft reset Onur Özkan
2026-08-10 18:34 ` Daniel Almeida
2026-07-08 11:43 ` [PATCH v3 3/3] drm/tyr: add GPU reset infrastructure Onur Özkan
2026-08-10 19:44 ` Daniel Almeida
2026-08-10 22:19 ` Danilo Krummrich
2026-08-11 21:47 ` Daniel Almeida
2026-08-12 22:12 ` Danilo Krummrich [this message]
2026-07-08 11:47 ` [PATCH v3 0/3] implement GPU reset API Onur Özkan
2026-08-06 0:06 ` Daniel Almeida
2026-08-10 9:25 ` Onur Özkan
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=DKNB6TU3BKUL.2ZELJAMKX3FK6@kernel.org \
--to=dakr@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=airlied@gmail.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.dev \
/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.