XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_gpuvm_exec Struct Reference

#include <drm_gpuvm.h>

Collaboration diagram for drm_gpuvm_exec:
Collaboration graph
[legend]

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 
 

Detailed Description

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.

Member Data Documentation

◆ exec

struct drm_exec drm_gpuvm_exec::exec

@exec: the &drm_exec structure

◆ [struct]

struct { ... } drm_gpuvm_exec::extra

@extra: Callback and corresponding private data for the driver to lock arbitrary additional &drm_gem_objects.

◆ flags

u32 drm_gpuvm_exec::flags

@flags: the flags for the struct drm_exec

◆ fn

int(* drm_gpuvm_exec::fn) (struct drm_gpuvm_exec *vm_exec)

@extra.fn: The driver callback to lock additional &drm_gem_objects.

◆ num_fences

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

◆ priv

void* drm_gpuvm_exec::priv

◆ vm

struct drm_gpuvm* drm_gpuvm_exec::vm

@vm: the &drm_gpuvm to lock its DMA reservations


The documentation for this struct was generated from the following file: