STRUCT AMD_HFI_CLASSES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct amd_hfi_classes(9) 🌸

okay so bestie, we're in the Kernel API Manual today and the star of the show is struct amd_hfi_classes. she's giving tiny-but-mighty, fr fr πŸ’…


✨ NAME ✨

struct amd_hfi_classes β€” the HFI class capabilities, per CPU, no cap 🧒


πŸ¦‹ SYNOPSIS πŸ¦‹

struct amd_hfi_classes {
    u32 perf;
    u32 eff;
 };

like, that's the whole struct. two little u32s. she's lowkey minimalist and honestly? obsessed πŸŽ€


πŸ’– MEMBERS πŸ’–

  • perf β€” the performance capability, aka her main character stat ✨
  • eff β€” the power efficiency capability, aka her chill-and-save-energy era 🌿

🌈 DESCRIPTION 🌈

so what is this? it's the capabilities of a logical processor in the ranking table. yes, ranking table β€” everyone's getting ranked, it's giving talent show πŸ†

these capabilities are unitless (no units, no drama, just vibes) and they're specific to each HFI class β€” so like, don't go comparing across classes, that's not the assignment πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/platform/x86/amd/hfi/hfi.c
  • struct amd_shmem_info(9) 🫢
  • struct amd_hfi_cpuinfo(9) πŸ’œ
  • amd_hfi_online(9) πŸ”₯
  • amd_hfi_offline(9) πŸ’€

ngl bestie, read the SEE ALSO list before you go poking around β€” the homies in hfi.c know things πŸ’…

okay that's the page!! this absolute icon lives over in ./drivers/platform/x86/amd/hfi, dated October 2026, and it is, as always, struct amd_hfi_classes(9). mwah, go slay your kernel work bestie πŸ˜­πŸ’–

πŸ“¦ where this page comes from