diff options
| author | Shankari Anand <shankari.ak0208@gmail.com> | 2025-08-20 16:58:46 +0530 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-08-21 22:11:08 +0900 |
| commit | d234f3aef5928c2f0d692cf43768ecced0abd672 (patch) | |
| tree | 66af42e13046ad3204ed4ba42beb7821bff5da66 | |
| parent | gpu: nova-core: register: add support for relative array registers (diff) | |
| download | linux-d234f3aef5928c2f0d692cf43768ecced0abd672.tar.gz linux-d234f3aef5928c2f0d692cf43768ecced0abd672.zip | |
gpu: nova-core: Update ARef imports from sync::aref
Update call sites in nova-core to import `ARef`
from `sync::aref` instead of `types`.
This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.
[acourbot@nvidia.com: use standard prefix for nova-core.]
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: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250820112846.9665-1-shankari.ak0208@gmail.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
| -rw-r--r-- | drivers/gpu/nova-core/falcon.rs | 2 | ||||
| -rw-r--r-- | drivers/gpu/nova-core/fb.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nova-core/falcon.rs b/drivers/gpu/nova-core/falcon.rs index d235a6f9efca..645e65175cb6 100644 --- a/drivers/gpu/nova-core/falcon.rs +++ b/drivers/gpu/nova-core/falcon.rs @@ -7,8 +7,8 @@ use hal::FalconHal; use kernel::bindings; use kernel::device; use kernel::prelude::*; +use kernel::sync::aref::ARef; use kernel::time::Delta; -use kernel::types::ARef; use crate::dma::DmaObject; use crate::driver::Bar0; diff --git a/drivers/gpu/nova-core/fb.rs b/drivers/gpu/nova-core/fb.rs index 4a702525fff4..68559902ae78 100644 --- a/drivers/gpu/nova-core/fb.rs +++ b/drivers/gpu/nova-core/fb.rs @@ -4,7 +4,7 @@ use core::ops::Range; use kernel::prelude::*; use kernel::sizes::*; -use kernel::types::ARef; +use kernel::sync::aref::ARef; use kernel::{dev_warn, device}; use crate::dma::DmaObject; |
