STRUCT DRM_V3D_RESET_PERFORMANCE_QUERY(9)
β¨ NAME β¨
struct drm_v3d_reset_performance_query β bestie, it's the ioctl extension that lets the CPU job reset performance queries π
π SYNOPSIS π
struct drm_v3d_reset_performance_query {
struct drm_v3d_extension base;
__u64 syncs;
__u32 count;
__u32 nperfmons;
__u64 kperfmon_ids;
};
okay so that's the whole struct, no cap β <purple>base</purple>, <purple>syncs</purple>, <purple>count</purple>, <purple>nperfmons</purple>, <purple>kperfmon_ids</purple>, all copied exactly char-for-char because we do not play with literal code around here π
π«Ά Members π«Ά
literally nothing listed under this heading in the original, bestie β the section is there, the members are silent π (the fields themselves are all up in the SYNOPSIS, so go look there π)
πΈ Description πΈ
So here's the vibe: when an extension DRM_V3D_EXT_ID_CPU_RESET_PERFORMANCE_QUERY is defined, it points to this extension to define a reset performance submission β¨
And what does that CPU job actually do? It resets the performance queries by resetting the values of the performance monitors π§ and, on top of that, it will reset the syncobj to reset query availability. two resets, one job, main character energy fr fr π
π SEE ALSO π
- Kernel file
./include/uapi/drm/v3d_drm.hπ 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_copy_performance_query(9)struct drm_v3d_perfmon_get_counter(9)struct drm_v3d_perfmon_set_global(9)
like a whole friend group of structs, and yes you should read all of them, iykyk π¦
that's the whole page, periodt π
sourced from ./include/uapi/drm, dated October 2026, section 9 of the Kernel API Manual β mwah, go reset some performance queries, ily π«Άπ
π¦ 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