All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/tyr: use pin-init self-referential support
@ 2026-11-30 23:19 Danilo Krummrich
  2026-11-30 23:19 ` [PATCH v2 1/3] drm/tyr: clarify resource lifetime names Danilo Krummrich
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Danilo Krummrich @ 2026-11-30 23:19 UTC (permalink / raw)
  To: dakr, aliceryhl, daniel.almeida, airlied, simona, lossin, gary,
	ojeda, boqun, bjorn3_gh, a.hindborg, tmgross, tamird, acourbot,
	work
  Cc: dri-devel, rust-for-linux, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-30 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 23:19 [PATCH v2 0/3] drm/tyr: use pin-init self-referential support Danilo Krummrich
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

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.