Lines Matching full:gem
3 //! DRM GEM shmem helper objects
16 gem,
35 use gem::{
41 /// A struct for controlling the creation of shmem-backed GEM objects.
44 /// initially creating a shmem-backed GEM object.
50 /// Reuse the DMA reservation from another GEM object.
56 /// A shmem-backed GEM object.
62 /// - Any type invariants of `C` apply to the parent DRM device for this GEM object.
82 // SAFETY: All GEM objects are thread-safe.
85 // SAFETY: All GEM objects are thread-safe.
89 /// `drm_gem_object_funcs` vtable suitable for GEM shmem objects.
148 // SAFETY: We have yet to expose the new gem object outside of this function, so it is
161 /// Returns the `Device` that owns this GEM object.
169 // - DRM always passes a valid gem object here
176 // - We won't be using the gem resources on `this` after this call.
206 impl<T: DriverObject, C: DeviceContext> gem::IntoGEMObject for Object<T, C> {