Expand description
DRM GPUVM in immediate mode
Rust abstractions for using GPUVM in immediate mode. This is when the GPUVM state is updated
during run_job(), i.e., in the DMA fence signalling critical path, to ensure that the GPUVM
and the GPU’s virtual address space has the same state at all times.
C header: include/drm/drm_gpuvm.h
Structs§
- GpuVa
- Represents that a range of a GEM object is mapped in this
GpuVminstance. - GpuVa
Alloc - A pre-allocated
GpuVaobject. - GpuVa
Removed - A
GpuVaobject that has been removed. - GpuVm
- A DRM GPU VA manager.
- GpuVmBo
- Represents that a given GEM object has at least one mapping on this
GpuVminstance. - OpMap
- Represents an
sm_step_mapoperation that has not yet been completed. - OpMap
Request - The argument for
UniqueRefGpuVm::sm_map. - OpMapped
- Represents a completed
OpMapoperation. - OpRemap
- Represents an
sm_step_remapoperation that has not yet been completed. - OpRemap
MapData - Part of an
OpRemapthat represents a new mapping. - OpRemap
Ret - Struct containing objects removed or not used by
OpRemap::remap. - OpRemapped
- Represents a completed
OpRemapoperation. - OpUnmap
- Represents an
sm_step_unmapoperation that has not yet been completed. - OpUnmapped
- Represents a completed
OpUnmapoperation. - Unique
RefGpu Vm - The core of the DRM GPU VA manager.
Traits§
- Driver
GpuVm - The manager for a GPUVM.