All of lore.kernel.org
 help / color / mirror / Atom feed
From: Danilo Krummrich <dakr@kernel.org>
To: dakr@kernel.org, aliceryhl@google.com,
	daniel.almeida@collabora.com, airlied@gmail.com, simona@ffwll.ch,
	lossin@kernel.org, gary@garyguo.net, ojeda@kernel.org,
	boqun@kernel.org, bjorn3_gh@protonmail.com,
	a.hindborg@kernel.org, tmgross@umich.edu, tamird@kernel.org,
	acourbot@nvidia.com, work@onurozkan.dev
Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] drm/tyr: use pin-init self-referential support
Date: Tue,  1 Dec 2026 00:19:34 +0100	[thread overview]
Message-ID: <20261130231950.955224-1-dakr@kernel.org> (raw)

This series uses pin-init's self-referential support to replace Arcs for
resources whose lifetimes are bounded by their owners.

It also cleans up lifetime names and simplifies firmware loading cleanup with
ScopeGuard.

Changes in v2:
- Use generic names for covariant lifetime parameters and resource names
  for invariant ones.
- Include VmAsData, GpuVmData, the VM operation types and PtUpdateContext
  in the lifetime cleanup.
- Drop the pin-init lint suppression patch and temporarily allow
  clippy::multiple_bound_locations in Tyr instead.

Danilo Krummrich (3):
  drm/tyr: clarify resource lifetime names
  drm/tyr: use pin-init self-referential support
  drm/tyr: use ScopeGuard for firmware loading cleanup

 drivers/gpu/drm/tyr/driver.rs            |  38 +++--
 drivers/gpu/drm/tyr/fw.rs                | 151 +++++++++----------
 drivers/gpu/drm/tyr/gem.rs               |  15 +-
 drivers/gpu/drm/tyr/mmu.rs               |  56 ++++----
 drivers/gpu/drm/tyr/mmu/address_space.rs |  54 +++----
 drivers/gpu/drm/tyr/tyr.rs               |   5 +
 drivers/gpu/drm/tyr/vm.rs                | 175 +++++++++++------------
 7 files changed, 247 insertions(+), 247 deletions(-)


base-commit: abfb640b2374e26de8ff81d488c39d8254db538e
-- 
2.56.1


             reply	other threads:[~2026-11-30 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 23:19 Danilo Krummrich [this message]
2026-11-30 23:19 ` [PATCH v2 1/3] drm/tyr: clarify resource lifetime names Danilo Krummrich
2026-11-30 23:19 ` [PATCH v2 2/3] drm/tyr: use pin-init self-referential support Danilo Krummrich
2026-11-30 23:19 ` [PATCH v2 3/3] drm/tyr: use ScopeGuard for firmware loading cleanup Danilo Krummrich

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=20261130231950.955224-1-dakr@kernel.org \
    --to=dakr@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --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=tamird@kernel.org \
    --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.