From: Danilo Krummrich Date: Thu, 28 May 2026 22:53:14 +0000 (+0200) Subject: Merge tag 'dd-lifetimes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git... X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a3e50e7279996cd987001fd8a3db36e72665f8f7;p=thirdparty%2Flinux.git Merge tag 'dd-lifetimes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core into drm-rust-next Higher-Ranked Lifetime Types for Rust device drivers Replace drvdata() with registration data on the auxiliary bus. Private data is now scoped to the registration object, removing the ordering constraints and lifetime complications that came with drvdata(). Add Higher-Ranked Lifetime Types (HRT) so driver structs can borrow device resources like pci::Bar and IoMem directly, tied to the device binding scope. This removes the need for Devres indirection and ARef in most driver code. This is a stable tag for other trees to merge. Signed-off-by: Danilo Krummrich --- a3e50e7279996cd987001fd8a3db36e72665f8f7 diff --cc drivers/gpu/drm/tyr/driver.rs index f0c2d6e4db3a1,04f83fcf09371..98732afc096f4 --- a/drivers/gpu/drm/tyr/driver.rs +++ b/drivers/gpu/drm/tyr/driver.rs @@@ -38,13 -31,13 +38,13 @@@ use kernel:: use crate::{ file::TyrDrmFileData, - gem::TyrObject, + gem::BoData, gpu, gpu::GpuInfo, - regs, // + regs::gpu_control::*, // }; - pub(crate) type IoMem = kernel::io::mem::IoMem; + pub(crate) type IoMem = kernel::io::mem::IoMem<'static, SZ_2M>; pub(crate) struct TyrDrmDriver;