STRUCT AMD_PMF_NPU_METRICS(9)
π
struct amd_pmf_npu_metrics(9) π
Hey bestie π, welcome to the Kernel API Manual. This page is literally struct amd_pmf_npu_metrics(9), and its whole personality is: Get NPU metrics data from PMF driver. That's the plot, no cap. πβ¨
β¨ NAME β¨
struct amd_pmf_npu_metrics β Get NPU metrics data from PMF driver. It's giving βthe NPU report card,β and honestly? Obsessed. π«Ά
π οΈ SYNOPSIS π οΈ
struct amd_pmf_npu_metrics {
u16 npuclk_freq;
u16 npu_busy[8];
u16 npu_power;
u16 mpnpuclk_freq;
u16 npu_reads;
u16 npu_writes;
u16 npu_temp;
};
π Members π
Okay so here are all the members, bestie β every single field, every single unit, no skipping. π
npuclk_freqβ NPU clock frequency [MHz] β°npu_busyβ NPU busy % [0-100] π₯npu_powerβ NPU power [mW] β‘mpnpuclk_freqβ MPNPU [MHz] πΈnpu_readsβ NPU read bandwidth [MB/sec] πnpu_writesβ NPU write bandwidth [MB/sec] βοΈnpu_tempβ NPU temperature [C] π‘οΈ
π SEE ALSO π
Go look at these if you want the full lore, iykyk:
- Kernel file
./include/linux/amd-pmf-io.h enum sfh_message_type(9)enum sfh_hpd_info(9)struct amd_sfh_info(9)enum sfh_dev_mode(9)
This page lives in the ./include/linux source and is dated October 2026. Mwah ππ«Ά β go get those metrics, bestie! πβ¨
π¦ 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