STRUCT MSM_PERFCNTR_GROUP_STATE(9)
π struct msm_perfcntr_group_state(9)
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes this page is a whole vibe. it's all about struct msm_perfcntr_group_state, which is the tracking for the currently allocated counter state β¨
πΈ NAME
struct msm_perfcntr_group_state β tracking for the currently allocated counter state π
β¨ SYNOPSIS
struct msm_perfcntr_group_state {
unsigned allocated_counters;
uint32_t countables[];
};
π«Ά Members
allocated_countersβ the allocated counters for global counter collection, no cap. the way this works is the corresponding counters get allocated from highest to lowest, and the whole point of that order is to minimize the chance of conflict with old userspace, which allocates from lowest to highest. literally strategic πcountablesβ the correspondingSELectreg values for the allocated counters. the other half of the situation, iconic behavior honestly π¦
π SEE ALSO
the Kernel file ./drivers/gpu/drm/msm/msm_gpu.h, plus:
struct msm_gpu_devfreq(9)struct msm_perfcntr_state(9)struct msm_context(9)msm_context_is_vmbind(9)msm_gpu_convert_priority(9)struct msm_gpu_submitqueue(9)
go read those too, iykyk π
so yeah, that's the whole page fr fr β huge thanks to the source at ./drivers/gpu/drm/msm, dated October 2026, mwah π and that's on struct msm_..._group_state(9) slaying 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