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

#include <i915_drm.h>

Public Attributes

__u64 extensions
 
__u32 flags
 
__u32 vm_id
 

Detailed Description

struct drm_i915_gem_vm_control - Structure to create or destroy VM.

DRM_I915_GEM_VM_CREATE -

Create a new virtual memory address space (ppGTT) for use within a context on the same file. Extensions can be provided to configure exactly how the address space is setup upon creation.

The id of new VM (bound to the fd) for use with I915_CONTEXT_PARAM_VM is returned in the outparam @id.

An extension chain maybe provided, starting with @extensions, and terminated by the @next_extension being 0. Currently, no extensions are defined.

DRM_I915_GEM_VM_DESTROY -

Destroys a previously created VM id, specified in @vm_id.

No extensions or flags are allowed currently, and so must be zero.

Member Data Documentation

◆ extensions

__u64 drm_i915_gem_vm_control::extensions

@extensions: Zero-terminated chain of extensions.

◆ flags

__u32 drm_i915_gem_vm_control::flags

@flags: reserved for future usage, currently MBZ

◆ vm_id

__u32 drm_i915_gem_vm_control::vm_id

@vm_id: Id of the VM created or to be destroyed


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