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

#include <xe_drm.h>

Public Attributes

__u64 extensions
 
char uuid [36]
 
__u32 n_regs
 
__u64 regs_ptr
 

Detailed Description

struct drm_xe_oa_config - OA metric configuration

Multiple OA configs can be added using DRM_XE_OBSERVATION_OP_ADD_CONFIG. A particular config can be specified when opening an OA stream using DRM_XE_OA_PROPERTY_OA_METRIC_SET property.

Member Data Documentation

◆ extensions

__u64 drm_xe_oa_config::extensions

@extensions: Pointer to the first extension struct, if any

◆ n_regs

__u32 drm_xe_oa_config::n_regs

@n_regs: Number of regs in @regs_ptr

◆ regs_ptr

__u64 drm_xe_oa_config::regs_ptr

@regs_ptr: Pointer to (register address, value) pairs for OA config registers. Expected length of buffer is: (2 * sizeof(u32) * @n_regs).

◆ uuid

char drm_xe_oa_config::uuid[36]

@uuid: String formatted like "%08x-%04x-%04x-%04x-%012x"


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