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

#include <pvr_drm.h>

Collaboration diagram for drm_pvr_job:
Collaboration graph
[legend]

Public Attributes

__u32 type
 
__u32 context_handle
 
__u32 flags
 
__u32 cmd_stream_len
 
__u64 cmd_stream
 
struct drm_pvr_obj_array sync_ops
 
struct drm_pvr_hwrt_data_ref hwrt
 

Detailed Description

struct drm_pvr_job - Job arguments passed to the DRM_IOCTL_PVR_SUBMIT_JOBS ioctl

Member Data Documentation

◆ cmd_stream

__u64 drm_pvr_job::cmd_stream

@cmd_stream: [IN] Pointer to command stream for command.

The command stream must be u64-aligned.

◆ cmd_stream_len

__u32 drm_pvr_job::cmd_stream_len

@cmd_stream_len: [IN] Length of command stream, in bytes.

◆ context_handle

__u32 drm_pvr_job::context_handle

@context_handle: [IN] Context handle.

When @job_type is DRM_PVR_JOB_TYPE_RENDER, DRM_PVR_JOB_TYPE_COMPUTE or DRM_PVR_JOB_TYPE_TRANSFER_FRAG, this must be a valid handle returned by DRM_IOCTL_PVR_CREATE_CONTEXT. The type of context must be compatible with the type of job being submitted.

When @job_type is DRM_PVR_JOB_TYPE_NULL, this must be zero.

◆ flags

__u32 drm_pvr_job::flags

@flags: [IN] Flags for command.

Those are job-dependent. See all DRM_PVR_SUBMIT_JOB_*.

◆ hwrt

struct drm_pvr_hwrt_data_ref drm_pvr_job::hwrt

@hwrt: [IN] HWRT data used by render jobs (geometry or fragment).

Must be zero for non-render jobs.

◆ sync_ops

struct drm_pvr_obj_array drm_pvr_job::sync_ops

@sync_ops: [IN] Fragment sync operations.

◆ type

__u32 drm_pvr_job::type

@type: [IN] Type of job being submitted

This must be one of the values defined by &enum drm_pvr_job_type.


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