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

#include <ivpu_accel.h>

Public Attributes

__u64 buffers_ptr
 
__u32 buffer_count
 
__u32 engine
 
__u32 flags
 
__u32 commands_offset
 
__u32 priority
 

Detailed Description

struct drm_ivpu_submit - Submit commands to the VPU

Execute a single command buffer on a given VPU engine. Handles to all referenced buffer objects have to be provided in @buffers_ptr.

User space may wait on job completion using DRM_IVPU_BO_WAIT ioctl.

Member Data Documentation

◆ buffer_count

__u32 drm_ivpu_submit::buffer_count

@buffer_count: Number of elements in the @buffers_ptr

◆ buffers_ptr

__u64 drm_ivpu_submit::buffers_ptr

@buffers_ptr:

A pointer to an u32 array of GEM handles of the BOs required for this job. The number of elements in the array must be equal to the value given by @buffer_count.

The first BO is the command buffer. The rest of array has to contain all BOs referenced from the command buffer.

◆ commands_offset

__u32 drm_ivpu_submit::commands_offset

@commands_offset:

Offset inside the first buffer in @buffers_ptr containing commands to be executed. The offset has to be 8-byte aligned.

◆ engine

__u32 drm_ivpu_submit::engine

@engine: Select the engine this job should be executed on

DRM_IVPU_ENGINE_COMPUTE:

Performs Deep Learning Neural Compute Inference Operations

◆ flags

__u32 drm_ivpu_submit::flags

@flags: Reserved for future use - must be zero

◆ priority

__u32 drm_ivpu_submit::priority

@priority:

Priority to be set for related job command queue, can be one of the following: DRM_IVPU_JOB_PRIORITY_DEFAULT DRM_IVPU_JOB_PRIORITY_IDLE DRM_IVPU_JOB_PRIORITY_NORMAL DRM_IVPU_JOB_PRIORITY_FOCUS DRM_IVPU_JOB_PRIORITY_REALTIME


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