NPU FREQUENCY CONTROL AND INFORMATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

NPU frequency control and information(9)

Kernel API Manual check, bestie β€” you've landed on the NPU frequency control and information page, and it's genuinely useful. πŸ’…

Hardware frequency capabilities β€” these are the NPU hardware's own limits, no cap:

  • freq/hw_min_freq β€” the minimum frequency supported by the NPU hardware. The floor, the bare minimum, the "please don't go lower" line. 🫢
  • freq/hw_max_freq β€” the maximum frequency supported by the NPU hardware. The ceiling, the main character top speed. πŸ”₯
  • freq/hw_efficient_freq β€” the most efficient operating frequency for the NPU. The sweet spot, the "works smart not hard" vibe. ✨

Configurable frequency limits (50XX devices and newer) β€” only 50XX devices and newer get these knobs:

  • freq/set_min_freq β€” configured minimum operating frequency. Your chosen floor. πŸ“
  • freq/set_max_freq β€” configured maximum operating frequency. Your chosen ceiling. 🌈

Clamping behavior β€” okay so values written to set_min_freq and set_max_freq are clamped to hardware limits. If set_min_freq exceeds set_max_freq, the driver clamps set_min_freq to set_max_freq when selecting the operating frequency. That's the rule, fr fr. πŸ’€

Current operating frequency β€” watch this one:

  • freq/current_freq β€” current frequency in MHz. Valid only when the device is active; returns 0 when idle. May be lower than the requested range due to power or thermal constraints. So if it's not hitting the range, it's not being shady β€” it's power or thermal constraints. 😭

Legacy attributes (backward compatibility) β€” old names still in the group chat, because backward compatibility is a love language:

  • npu_max_frequency_mhz β€” alias for freq/hw_max_freq. πŸ’–
  • npu_current_frequency_mhz β€” alias for freq/current_freq. πŸ’–

✨ SEE ALSO ✨

Kernel file ./drivers/accel/ivpu/ivpu_sysfs.c, plus npu_busy_time_us(9), npu_memory_utilization(9), and sched_mode(9). Go read those next, bestie. 🫢


Cute sign-off: from ./drivers/accel/ivpu, October 2026 β€” the NPU frequency control and information(9) page, Kernel API Manual edition. Slay. πŸ’…βœ¨

πŸ“¦ where this page comes from