STRUCT DRM_V3D_PERFMON_GET_COUNTER(9)
π struct drm_v3d_perfmon_get_counter β NAME
okay so bestie, this is the manual page for struct drm_v3d_perfmon_get_counter, and like... it's literally the ioctl you use to get the description of a performance counter. that's the whole vibe. β¨
π SYNOPSIS
like, here's the struct, exactly as it lives, no cap:
struct drm_v3d_perfmon_get_counter {
__u8 counter;
__u8 name[DRM_V3D_PERFCNT_MAX_NAME];
__u8 category[DRM_V3D_PERFCNT_MAX_CATEGORY];
__u8 description[DRM_V3D_PERFCNT_MAX_DESCRIPTION];
__u8 reserved[7];
};
she's got a counter field, three arrays β name, category, description, all sized by their own DRM_V3D_PERFCNT_MAX_* macros β and a lil reserved[7] at the end doing absolutely nothing (we stan a reserved queen). π«Ά
π― Members
bestie this section is, like, genuinely empty in the original. no members described, nothing. so i'm not gonna invent any, i'm just gonna tell you it's blank π
πΈ Description
okay so here's the tea: userspace needs to retrieve information about the performance counters that are available. that's it, that's the whole reason this exists. π¦
so this IOCTL is the one that lets users get information about a performance counter β namely its name, its category, and its description. three-for-one deal, slay. π
π₯ SEE ALSO
the kernel file ./include/uapi/drm/v3d_drm.h and every sibling struct in the braincell group chat:
struct drm_v3d_multi_sync(9)struct drm_v3d_submit_cl(9)struct drm_v3d_wait_bo(9)struct drm_v3d_create_bo(9)struct drm_v3d_mmap_bo(9)struct drm_v3d_indirect_csd(9)struct drm_v3d_timestamp_query(9)struct drm_v3d_reset_timestamp_query(9)struct drm_v3d_copy_timestamp_query(9)struct drm_v3d_reset_performance_query(9)struct drm_v3d_copy_performance_query(9)struct drm_v3d_perfmon_set_global(9)
and that's the whole page bestie, no notes, go read the header file π
mwah, bye!! πβ¨ this lil number lives in ./include/uapi/drm, dated October 2026, and it's filed under the very dramatic name struct drm_v..._get_counter(9) β yeah the title got truncated, she's mysterious like that π
periodt π¦
π¦ 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