Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drivers: gpu: Update ARef imports from sync::aref

Update call sites to import `ARef` from `sync::aref`
instead of `types`.

This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.

Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20251123092438.182251-3-shankari.ak0208@gmail.com
[aliceryhl: keep trailing // at last import]
Signed-off-by: Alice Ryhl <aliceryhl@google.com>

authored by

Shankari Anand and committed by
Alice Ryhl
85927649 60c7398b

+4 -4
+1 -1
drivers/gpu/drm/tyr/driver.rs
··· 16 16 use kernel::regulator; 17 17 use kernel::regulator::Regulator; 18 18 use kernel::sizes::SZ_2M; 19 + use kernel::sync::aref::ARef; 19 20 use kernel::sync::Arc; 20 21 use kernel::sync::Mutex; 21 22 use kernel::time; 22 - use kernel::types::ARef; 23 23 24 24 use crate::file::File; 25 25 use crate::gem::TyrObject;
+2 -2
drivers/gpu/nova-core/gsp/sequencer.rs
··· 14 14 device, 15 15 io::poll::read_poll_timeout, 16 16 prelude::*, 17 + sync::aref::ARef, 17 18 time::{ 18 19 delay::fsleep, 19 20 Delta, // 20 21 }, 21 - transmute::FromBytes, 22 - types::ARef, // 22 + transmute::FromBytes, // 23 23 }; 24 24 25 25 use crate::{
+1 -1
drivers/gpu/nova-core/vbios.rs
··· 11 11 Alignable, 12 12 Alignment, // 13 13 }, 14 + sync::aref::ARef, 14 15 transmute::FromBytes, 15 - types::ARef, 16 16 }; 17 17 18 18 use crate::{