#[repr(C)]pub enum drmDMAFlags {
DRM_DMA_BLOCK = 1,
DRM_DMA_WHILE_LOCKED = 2,
DRM_DMA_PRIORITY = 4,
DRM_DMA_WAIT = 16,
DRM_DMA_SMALLER_OK = 32,
DRM_DMA_LARGER_OK = 64,
}Expand description
\warning These values MUST match drm.h
Variants§
DRM_DMA_BLOCK = 1
DRM_DMA_WHILE_LOCKED = 2
< Block until buffer dispatched.
\note the buffer may not yet have been processed by the hardware – getting a hardware lock with the hardware quiescent will ensure that the buffer has been processed.
DRM_DMA_PRIORITY = 4
DRM_DMA_WAIT = 16
DRM_DMA_SMALLER_OK = 32
DRM_DMA_LARGER_OK = 64
Auto Trait Implementations§
impl Freeze for drmDMAFlags
impl RefUnwindSafe for drmDMAFlags
impl Send for drmDMAFlags
impl Sync for drmDMAFlags
impl Unpin for drmDMAFlags
impl UnwindSafe for drmDMAFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more