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

#include <i915_drm.h>

Public Attributes

__u32 handle
 
__u32 relocation_count
 
__u64 relocs_ptr
 
__u64 alignment
 
__u64 offset
 
__u64 flags
 
union { 
 
   __u64   rsvd1 
 
   __u64   pad_to_size 
 
};  
 
__u64 rsvd2
 

Member Data Documentation

◆ [union]

◆ alignment

__u64 drm_i915_gem_exec_object2::alignment

Required alignment in graphics aperture

◆ flags

__u64 drm_i915_gem_exec_object2::flags

◆ handle

__u32 drm_i915_gem_exec_object2::handle

User's handle for a buffer to be bound into the GTT for this operation.

◆ offset

__u64 drm_i915_gem_exec_object2::offset

When the EXEC_OBJECT_PINNED flag is specified this is populated by the user with the GTT offset at which this object will be pinned.

When the I915_EXEC_NO_RELOC flag is specified this must contain the presumed_offset of the object.

During execbuffer2 the kernel populates it with the value of the current GTT offset of the object, for future presumed_offset writes.

See struct drm_i915_gem_create_ext for the rules when dealing with alignment restrictions with I915_MEMORY_CLASS_DEVICE, on devices with minimum page sizes, like DG2.

◆ pad_to_size

__u64 drm_i915_gem_exec_object2::pad_to_size

◆ relocation_count

__u32 drm_i915_gem_exec_object2::relocation_count

Number of relocations to be performed on this buffer

◆ relocs_ptr

__u64 drm_i915_gem_exec_object2::relocs_ptr

Pointer to array of struct drm_i915_gem_relocation_entry containing the relocations to be performed in this buffer.

◆ rsvd1

__u64 drm_i915_gem_exec_object2::rsvd1

◆ rsvd2

__u64 drm_i915_gem_exec_object2::rsvd2

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