We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6876b6 commit 7066658Copy full SHA for 7066658
1 file changed
drivers/gpu/drm/asahi/gpu.rs
@@ -823,6 +823,15 @@ impl GpuManager::ver {
823
},
824
GFP_KERNEL,
825
)?)
826
+ }
827
+
828
+ /// Create the global GPU event manager, and return an `Arc<>` to it.
829
+ fn make_event_manager(alloc: &mut KernelAllocators) -> Result<Arc<event::EventManager>> {
830
+ Ok(Arc::new(event::EventManager::new(alloc)?, GFP_KERNEL)?)
831
832
833
+ /// Create a new MMIO mapping and add it to the mappings list in initdata at the specified
834
+ /// index.
835
fn iomap(
836
this: &mut Pin<UniqueArc<GpuManager::ver>>,
837
cfg: &'static hw::HwConfig,
0 commit comments