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
