xref: /linux/rust/kernel/drm/mod.rs (revision 99676aed1fec109d62822e21a06760eb098dc5f4)
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 
3 //! DRM subsystem abstractions.
4 
5 pub mod device;
6 pub mod driver;
7 pub mod file;
8 pub mod gem;
9 pub mod gpuvm;
10 pub mod ioctl;
11 
12 pub use self::device::Device;
13 pub use self::device::DeviceContext;
14 pub use self::device::Registered;
15 pub use self::device::Uninit;
16 pub use self::device::UnregisteredDevice;
17 pub use self::driver::Driver;
18 pub use self::driver::DriverInfo;
19 pub use self::driver::Registration;
20 pub use self::file::File;
21 
22 pub(crate) mod private {
23     pub trait Sealed {}
24 }
25