xe_guc_klv_...index_to_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ¦‹


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