|
XenevaOS
|
#include <drm_gpuvm.h>

Public Attributes | ||
| struct drm_exec | exec | |
| u32 | flags | |
| struct drm_gpuvm * | vm | |
| unsigned int | num_fences | |
| struct { | ||
| int(* fn )(struct drm_gpuvm_exec *vm_exec) | ||
| void * priv | ||
| } | extra | |
struct drm_gpuvm_exec - &drm_gpuvm abstraction of &drm_exec
This structure should be created on the stack as &drm_exec should be.
Optionally, @extra can be set in order to lock additional &drm_gem_objects.
| struct { ... } drm_gpuvm_exec::extra |
@extra: Callback and corresponding private data for the driver to lock arbitrary additional &drm_gem_objects.
| int(* drm_gpuvm_exec::fn) (struct drm_gpuvm_exec *vm_exec) |
@extra.fn: The driver callback to lock additional &drm_gem_objects.
| unsigned int drm_gpuvm_exec::num_fences |
@num_fences: the number of fences to reserve for the &dma_resv of the locked &drm_gem_objects
| void* drm_gpuvm_exec::priv |