rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/tyr: use pin-init self-referential support
@ 2026-11-18 23:37 Danilo Krummrich
  2026-11-18 23:37 ` [PATCH 1/4] drm/tyr: name resource lifetimes after their types Danilo Krummrich
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Danilo Krummrich @ 2026-11-18 23:37 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, fixes a Clippy warning in generated pin-init
code, and simplifies firmware loading cleanup with ScopeGuard.

Danilo Krummrich (4):
  drm/tyr: name resource lifetimes after their types
  rust: pin-init: internal: suppress multiple_bound_locations
  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 |  40 +++---
 drivers/gpu/drm/tyr/vm.rs                | 119 +++++++++---------
 rust/pin-init/internal/src/pin_data.rs   |   3 +-
 7 files changed, 209 insertions(+), 213 deletions(-)


base-commit: e55a991e09e3b44f0b0d8206bb523dc57c086341
-- 
2.56.1


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

end of thread, other threads:[~2026-11-19 13:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 23:37 [PATCH 0/4] drm/tyr: use pin-init self-referential support Danilo Krummrich
2026-11-18 23:37 ` [PATCH 1/4] drm/tyr: name resource lifetimes after their types Danilo Krummrich
2026-11-19  2:08   ` Gary Guo
2026-11-19 10:34     ` Danilo Krummrich
2026-11-19 11:28       ` Gary Guo
2026-11-19 12:28         ` Danilo Krummrich
2026-11-19 12:56           ` Gary Guo
2026-11-19 13:57             ` Danilo Krummrich
2026-11-18 23:37 ` [PATCH 2/4] rust: pin-init: internal: suppress multiple_bound_locations Danilo Krummrich
2026-11-19  2:23   ` Gary Guo
2026-11-18 23:37 ` [PATCH 3/4] drm/tyr: use pin-init self-referential support Danilo Krummrich
2026-11-18 23:37 ` [PATCH 4/4] drm/tyr: use ScopeGuard for firmware loading cleanup Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).