Skip to main content

Module gpuvm

Module gpuvm 

Source
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 GpuVm instance.
GpuVaAlloc
A pre-allocated GpuVa object.
GpuVaRemoved
A GpuVa object that has been removed.
GpuVm
A DRM GPU VA manager.
GpuVmBo
Represents that a given GEM object has at least one mapping on this GpuVm instance.
OpMap
Represents an sm_step_map operation that has not yet been completed.
OpMapRequest
The argument for UniqueRefGpuVm::sm_map.
OpMapped
Represents a completed OpMap operation.
OpRemap
Represents an sm_step_remap operation that has not yet been completed.
OpRemapMapData
Part of an OpRemap that represents a new mapping.
OpRemapRet
Struct containing objects removed or not used by OpRemap::remap.
OpRemapped
Represents a completed OpRemap operation.
OpUnmap
Represents an sm_step_unmap operation that has not yet been completed.
OpUnmapped
Represents a completed OpUnmap operation.
UniqueRefGpuVm
The core of the DRM GPU VA manager.

Traits§

DriverGpuVm
The manager for a GPUVM.