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

#include <v3d_drm.h>

Public Attributes

__u32 bcl_start
 
__u32 bcl_end
 
__u32 rcl_start
 
__u32 rcl_end
 
__u32 in_sync_bcl
 
__u32 in_sync_rcl
 
__u32 out_sync
 
__u32 qma
 
__u32 qms
 
__u32 qts
 
__u64 bo_handles
 
__u32 bo_handle_count
 
__u32 flags
 
__u32 perfmon_id
 
__u32 pad
 
__u64 extensions
 

Detailed Description

struct drm_v3d_submit_cl - ioctl argument for submitting commands to the 3D engine.

This asks the kernel to have the GPU execute an optional binner command list, and a render command list.

The L1T, slice, L2C, L2T, and GCA caches will be flushed before each CL executes. The VCD cache should be flushed (if necessary) by the submitted CLs. The TLB writes are guaranteed to have been flushed by the time the render done IRQ happens, which is the trigger for out_sync. Any dirtying of cachelines by the job (only possible using TMU writes) must be flushed by the caller using the DRM_V3D_SUBMIT_CL_FLUSH_CACHE_FLAG flag.

Member Data Documentation

◆ bcl_end

__u32 drm_v3d_submit_cl::bcl_end

End address of the BCL (first byte after the BCL)

◆ bcl_start

__u32 drm_v3d_submit_cl::bcl_start

◆ bo_handle_count

__u32 drm_v3d_submit_cl::bo_handle_count

◆ bo_handles

__u64 drm_v3d_submit_cl::bo_handles

◆ extensions

__u64 drm_v3d_submit_cl::extensions

◆ flags

__u32 drm_v3d_submit_cl::flags

◆ in_sync_bcl

__u32 drm_v3d_submit_cl::in_sync_bcl

An optional sync object to wait on before starting the BCL.

◆ in_sync_rcl

__u32 drm_v3d_submit_cl::in_sync_rcl

An optional sync object to wait on before starting the RCL.

◆ out_sync

__u32 drm_v3d_submit_cl::out_sync

An optional sync object to place the completion fence in.

◆ pad

__u32 drm_v3d_submit_cl::pad

◆ perfmon_id

__u32 drm_v3d_submit_cl::perfmon_id

◆ qma

__u32 drm_v3d_submit_cl::qma

◆ qms

__u32 drm_v3d_submit_cl::qms

Size of the tile alloc memory.

◆ qts

__u32 drm_v3d_submit_cl::qts

Offset of the tile state data array.

◆ rcl_end

__u32 drm_v3d_submit_cl::rcl_end

End address of the RCL (first byte after the RCL)

◆ rcl_start

__u32 drm_v3d_submit_cl::rcl_start

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