STRUCT DRM_IVPU_METRIC_STREAMER_GET_DATA(9)
π struct drm_i...mer_get_data(9)
okay bestie, welcome to the Kernel API Manual page for struct drm_i...mer_get_data(9) β yes, that truncated name is iconic and we're keeping it exactly. This is the struct that copies collected metric data, so let's get into it β¨.
π NAME π
struct drm_ivpu_metric_streamer_get_data β copy collected metric data. Literally the whole vibe: this struct is your little envelope for moving the metric data you collected π.
πΈ SYNOPSIS πΈ
struct drm_ivpu_metric_streamer_get_data {
__u64 metric_group_mask;
__u64 buffer_ptr;
__u64 buffer_size;
__u64 data_size;
};
π¦ Members π¦
metric_group_maskβ indicates the metric streamer instance, iykyk. It's the "which one" field.buffer_ptrβ a pointer to a destination for the copied data. Think: where the copied data is gonna land.buffer_sizeβ the size of the destination buffer. Gotta tell it how much room there is.data_sizeβ the returned size of copied metric data. This is the size that comes back to you.
If buffer_size is zero, it returns the amount of data that's ready to be copied. Not me checking the size before committing π
.
π₯ SEE ALSO π₯
- Kernel file
./include/uapi/drm/ivpu_accel.h contexts(9)DRM_IVPU_CAP_METRIC_STREAMER(9)DRM_IVPU_CAP_DMA_MEMORY_RANGE(9)DRM_IVPU_CAP_MANAGE_CMDQ(9)DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR(9)struct drm_ivpu_param(9)struct drm_ivpu_bo_create(9)struct drm_ivpu_bo_create_from_userptr(9)struct drm_ivpu_bo_info(9)struct drm_ivpu_submit(9)struct drm_ivpu_cmdq_submit(9)struct drm_ivpu_bo_wait(9)struct drm_ivpu_metric_streamer_start(9)struct drm_ivpu_cmdq_create(9)struct drm_ivpu_cmdq_destroy(9)struct drm_ivpu_metric_streamer_stop(9)
okay that's the whole page, bestie β mwah π. Source/version situation: ./include/uapi/drm Β· date October 2026 Β· manual name struct drm_i...mer_get_data(9). Byeee π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms