xe_guc_klv_...index_to_key(9)
π NAME π
xe_guc_klv_threshold_index_to_key β bestie, this one grabs you the tracked GuC threshold KLV key β¨
So like, this page lives in the Kernel API Manual (that's the manual name, we're fancy now π), and it's all about turning an index into a key. Slay.
πΈ SYNOPSIS πΈ
u32 xe_guc_klv_threshold_index_to_key (enum xe_guc_klv_threshold_index
index );
That return type is a u32, no cap. And yes, that's a whole enum xe_guc_klv_threshold_index sitting in the parameter list β she's specific about her types π
π ARGUMENTS π
indexβ the GuC threshold KLV index. That's it, that's the whole argument. She takes exactly one (1) thing and it's this π«Ά
β¨ DESCRIPTION β¨
Okay so here's the tea π΅ β this translation is automatically generated using MAKE_XE_GUC_KLV_THRESHOLDS_SET. Like, nobody hand-wrote this mapping, the macro did it. Iconic behavior honestly.
Not me emphasizing this but fr fr: it's automatically generated. Don't come for the source code, come for the macro π
β RETURN β
It returns the key of the GuC threshold KLV π β¦or 0 on a malformed index π (vibe check failed, you get a zero, that's the deal).
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_guc_klv_thresholds_set.hβ the whole set lives here, go look π MAKE_GUC_KLV_VF_CFG_THRESHOLD_KEY(9)MAKE_GUC_KLV_VF_CFG_THRESHOLD_LEN(9)xe_guc_klv_threshold_key_to_index(9)β yeah, the reverse one, they're a matched set π§
And that's the whole page, bestie π This little icon came from ./drivers/gpu/drm/xe and it's dated October 2026, so likeβ¦ future vibes π Anyway, mwah, go read the header file π
β¨
π¦ 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