|
XenevaOS
|
#include <i915_drm.h>
Public Attributes | |
| __u64 | query_id |
| __s32 | length |
| __u32 | flags |
| __u64 | data_ptr |
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.
| __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.
| __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:
When &query_id == DRM_I915_QUERY_GEOMETRY_SUBSLICES must contain a struct i915_engine_class_instance that references a render engine.
| __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.
| __u64 drm_i915_query_item::query_id |
@query_id:
The id for this query. Currently accepted query IDs are:
GuC HWCONFIG blob uAPI)