em_update_pe...mance_limits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie!! This is em_update_pe...mance_limits(9) from the Kernel API Manual β€” and it’s giving β€œlet’s update the Energy Model with performance limits information” energy, fr fr.

em_update_performance_limits β€” Update Energy Model with performance limits information. ✨


✨ SYNOPSIS ✨

int em_update_performance_limits (struct em_perf_domain *pd , unsigned long freq_min_khz , unsigned long freq_max_khz );

πŸŽ€ ARGUMENTS πŸŽ€

  • pd β€” the Performance Domain with an EM that has to be updated. πŸ‘‘
  • freq_min_khz β€” the new minimum allowed frequency for this device. πŸ’…
  • freq_max_khz β€” the new maximum allowed frequency for this device. 🌸

πŸ’… DESCRIPTION πŸ’…

Okay so this function lets you update the EM with information about the available performance levels. It takes the minimum and maximum frequency in kHz and does the internal translation to performance levels β€” lowkey iconic behavior, no cap. πŸ’–

It returns 0 on success or -EINVAL when it fails. Periodt. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/power/energy_model.c


mwah πŸ’‹ this cutie came from ./kernel/power and is dated October 2026, and yes the page title is em_update_pe...mance_limits(9) again β€” slay. 🫢🌈

πŸ“¦ where this page comes from