STRUCT AMD_PMF_NPU_METRICS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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