mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-11 21:55:30 -04:00
drm/tyr: remove imports available from prelude
No functional changes intended. Signed-off-by: Gary Guo <gary@garyguo.net> Acked-by: Deborah Brouwer <deborah.brouwer@collabora.com> Link: https://patch.msgid.link/20260610141359.1033755-1-gary@kernel.org Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
@@ -48,17 +48,12 @@ pub(crate) fn read_u64_no_tearing(lo_read: impl Fn() -> u32, hi_read: impl Fn()
|
||||
/// These registers correspond to the GPU_CONTROL register page.
|
||||
/// They are involved in GPU configuration and control.
|
||||
pub(crate) mod gpu_control {
|
||||
use core::convert::TryFrom;
|
||||
use kernel::{
|
||||
error::{
|
||||
code::EINVAL,
|
||||
Error, //
|
||||
},
|
||||
num::Bounded,
|
||||
prelude::*,
|
||||
register,
|
||||
uapi, //
|
||||
};
|
||||
use pin_init::Zeroable;
|
||||
|
||||
register! {
|
||||
/// GPU identification register.
|
||||
@@ -964,14 +959,9 @@ pub(crate) mod mmu_control {
|
||||
///
|
||||
/// This array contains 16 instances of the MMU_AS_CONTROL register page.
|
||||
pub(crate) mod mmu_as_control {
|
||||
use core::convert::TryFrom;
|
||||
|
||||
use kernel::{
|
||||
error::{
|
||||
code::EINVAL,
|
||||
Error, //
|
||||
},
|
||||
num::Bounded,
|
||||
prelude::*,
|
||||
register, //
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user