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

#include <i915_drm.h>

Public Attributes

__u64 buffers_ptr
 
__u32 buffer_count
 
__u32 batch_start_offset
 
__u32 batch_len
 
__u32 DR1
 
__u32 DR4
 
__u32 num_cliprects
 
__u64 cliprects_ptr
 
__u64 flags
 
__u64 rsvd1
 
__u64 rsvd2
 

Detailed Description

struct drm_i915_gem_execbuffer2 - Structure for DRM_I915_GEM_EXECBUFFER2 ioctl.

Member Data Documentation

◆ batch_len

__u32 drm_i915_gem_execbuffer2::batch_len

@batch_len: Length in bytes of the batch buffer, starting from the @batch_start_offset. If 0, length is assumed to be the batch buffer object size.

◆ batch_start_offset

__u32 drm_i915_gem_execbuffer2::batch_start_offset

@batch_start_offset: Offset in the batchbuffer to start execution from.

◆ buffer_count

__u32 drm_i915_gem_execbuffer2::buffer_count

@buffer_count: Number of elements in @buffers_ptr array

◆ buffers_ptr

__u64 drm_i915_gem_execbuffer2::buffers_ptr

@buffers_ptr: Pointer to a list of gem_exec_object2 structs

◆ cliprects_ptr

__u64 drm_i915_gem_execbuffer2::cliprects_ptr

@cliprects_ptr: Kernel clipping was a DRI1 misfeature.

It is invalid to use this field if I915_EXEC_FENCE_ARRAY or I915_EXEC_USE_EXTENSIONS flags are not set.

If I915_EXEC_FENCE_ARRAY is set, then this is a pointer to an array of &drm_i915_gem_exec_fence and @num_cliprects is the length of the array.

If I915_EXEC_USE_EXTENSIONS is set, then this is a pointer to a single &i915_user_extension and num_cliprects is 0.

◆ DR1

__u32 drm_i915_gem_execbuffer2::DR1

@DR1: deprecated

◆ DR4

__u32 drm_i915_gem_execbuffer2::DR4

@DR4: deprecated

◆ flags

__u64 drm_i915_gem_execbuffer2::flags

@flags: Execbuf flags

◆ num_cliprects

__u32 drm_i915_gem_execbuffer2::num_cliprects

@num_cliprects: See @cliprects_ptr

◆ rsvd1

__u64 drm_i915_gem_execbuffer2::rsvd1

@rsvd1: Context id

◆ rsvd2

__u64 drm_i915_gem_execbuffer2::rsvd2

@rsvd2: in and out sync_file file descriptors.

When I915_EXEC_FENCE_IN or I915_EXEC_FENCE_SUBMIT flag is set, the lower 32 bits of this field will have the in sync_file fd (input).

When I915_EXEC_FENCE_OUT flag is set, the upper 32 bits of this field will have the out sync_file fd (output).


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