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

#include <panthor_drm.h>

Collaboration diagram for drm_panthor_group_create:
Collaboration graph
[legend]

Public Attributes

struct drm_panthor_obj_array queues
 
__u8 max_compute_cores
 
__u8 max_fragment_cores
 
__u8 max_tiler_cores
 
__u8 priority
 
__u32 pad
 
__u64 compute_core_mask
 
__u64 fragment_core_mask
 
__u64 tiler_core_mask
 
__u32 vm_id
 
__u32 group_handle
 

Detailed Description

struct drm_panthor_group_create - Arguments passed to DRM_IOCTL_PANTHOR_GROUP_CREATE

Member Data Documentation

◆ compute_core_mask

__u64 drm_panthor_group_create::compute_core_mask

@compute_core_mask: Mask encoding cores that can be used for compute jobs.

This field must have at least @max_compute_cores bits set.

The bits set here should also be set in drm_panthor_gpu_info::shader_present.

◆ fragment_core_mask

__u64 drm_panthor_group_create::fragment_core_mask

@fragment_core_mask: Mask encoding cores that can be used for fragment jobs.

This field must have at least @max_fragment_cores bits set.

The bits set here should also be set in drm_panthor_gpu_info::shader_present.

◆ group_handle

__u32 drm_panthor_group_create::group_handle

@group_handle: Returned group handle. Passed back when submitting jobs or destroying a group.

◆ max_compute_cores

__u8 drm_panthor_group_create::max_compute_cores

@max_compute_cores: Maximum number of cores that can be used by compute jobs across CS queues bound to this group.

Must be less or equal to the number of bits set in @compute_core_mask.

◆ max_fragment_cores

__u8 drm_panthor_group_create::max_fragment_cores

@max_fragment_cores: Maximum number of cores that can be used by fragment jobs across CS queues bound to this group.

Must be less or equal to the number of bits set in @fragment_core_mask.

◆ max_tiler_cores

__u8 drm_panthor_group_create::max_tiler_cores

@max_tiler_cores: Maximum number of tilers that can be used by tiler jobs across CS queues bound to this group.

Must be less or equal to the number of bits set in @tiler_core_mask.

◆ pad

__u32 drm_panthor_group_create::pad

@pad: Padding field, MBZ.

◆ priority

__u8 drm_panthor_group_create::priority

@priority: Group priority (see enum drm_panthor_group_priority).

◆ queues

struct drm_panthor_obj_array drm_panthor_group_create::queues

@queues: Array of drm_panthor_queue_create elements.

◆ tiler_core_mask

__u64 drm_panthor_group_create::tiler_core_mask

@tiler_core_mask: Mask encoding cores that can be used for tiler jobs.

This field must have at least @max_tiler_cores bits set.

The bits set here should also be set in drm_panthor_gpu_info::tiler_present.

◆ vm_id

__u32 drm_panthor_group_create::vm_id

@vm_id: VM ID to bind this group to.

All submission to queues bound to this group will use this VM.


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