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

#include <i915_drm.h>

Public Attributes

__u64 query_id
 
__s32 length
 
__u32 flags
 
__u64 data_ptr
 

Detailed Description

struct drm_i915_query_item - An individual query for the kernel to process.

The behaviour is determined by the @query_id. Note that exactly what @data_ptr is also depends on the specific @query_id.

Member Data Documentation

◆ data_ptr

__u64 drm_i915_query_item::data_ptr

@data_ptr:

Data will be written at the location pointed by @data_ptr when the value of @length matches the length of the data to be written by the kernel.

◆ flags

__u32 drm_i915_query_item::flags

@flags:

When &query_id == DRM_I915_QUERY_TOPOLOGY_INFO, must be 0.

When &query_id == DRM_I915_QUERY_PERF_CONFIG, must be one of the following:

  • DRM_I915_QUERY_PERF_CONFIG_LIST
    • DRM_I915_QUERY_PERF_CONFIG_DATA_FOR_UUID
    • DRM_I915_QUERY_PERF_CONFIG_FOR_UUID

When &query_id == DRM_I915_QUERY_GEOMETRY_SUBSLICES must contain a struct i915_engine_class_instance that references a render engine.

◆ length

__s32 drm_i915_query_item::length

@length:

When set to zero by userspace, this is filled with the size of the data to be written at the @data_ptr pointer. The kernel sets this value to a negative value to signal an error on a particular query item.

◆ query_id

__u64 drm_i915_query_item::query_id

@query_id:

The id for this query. Currently accepted query IDs are:


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