|
XenevaOS
|
#include <ivpu_accel.h>
Public Attributes | |
| __u64 | buffers_ptr |
| __u32 | buffer_count |
| __u32 | cmdq_id |
| __u32 | flags |
| __u32 | commands_offset |
| __u32 | preempt_buffer_index |
| __u32 | reserved |
struct drm_ivpu_cmdq_submit - Submit commands to the VPU using explicit command queue
Execute a single command buffer on a given command queue. 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.
| __u32 drm_ivpu_cmdq_submit::buffer_count |
@buffer_count: Number of elements in the @buffers_ptr
| __u64 drm_ivpu_cmdq_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.
| __u32 drm_ivpu_cmdq_submit::cmdq_id |
@cmdq_id: ID for the command queue where job will be submitted
| __u32 drm_ivpu_cmdq_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.
| __u32 drm_ivpu_cmdq_submit::flags |
@flags: Reserved for future use - must be zero
| __u32 drm_ivpu_cmdq_submit::preempt_buffer_index |
@preempt_buffer_index:
Index of the preemption buffer in the buffers_ptr array.
| __u32 drm_ivpu_cmdq_submit::reserved |