pub struct OpUnmap<'op, T: DriverGpuVm> { /* private fields */ }Expand description
Represents an sm_step_unmap operation that has not yet been completed.
Implementations§
Source§impl<'op, T: DriverGpuVm> OpUnmap<'op, T>
impl<'op, T: DriverGpuVm> OpUnmap<'op, T>
Sourcepub fn keep(&self) -> bool
pub fn keep(&self) -> bool
Indicates whether this GpuVa is physically contiguous with the
original mapping request.
Optionally, if keep is set, drivers may keep the actual page table
mappings for this drm_gpuva, adding the missing page table entries
only and update the drm_gpuvm accordingly.
Sourcepub fn remove(self) -> (OpUnmapped<'op, T>, GpuVaRemoved<T>)
pub fn remove(self) -> (OpUnmapped<'op, T>, GpuVaRemoved<T>)
Remove the VA.
Auto Trait Implementations§
impl<'op, T> !Send for OpUnmap<'op, T>
impl<'op, T> !Sync for OpUnmap<'op, T>
impl<'op, T> Freeze for OpUnmap<'op, T>
impl<'op, T> RefUnwindSafe for OpUnmap<'op, T>where
T: RefUnwindSafe,
impl<'op, T> Unpin for OpUnmap<'op, T>
impl<'op, T> UnsafeUnpin for OpUnmap<'op, T>
impl<'op, T> UnwindSafe for OpUnmap<'op, T>where
T: RefUnwindSafe,
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