smu7_fan_ct...an_speed_pwm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smu7_fan_ctrl_set_fan_speed_pwm β€” Kernel API Manual ✨

okay bestie, so this one lives in the Kernel API Manual (yes, that's the whole manual name, we're being fancy today πŸŽ€) and it's literally the function that lets you tell a GPU fan how hard to spin, in PWM terms. Fan control era. Let's get into it πŸ¦‹


🌸 NAME 🌸

smu7_fan_ctrl_set_fan_speed_pwm β€” Set Fan Speed in PWM. that's it, that's the whole job, and it ate πŸ’…


✨ SYNOPSIS ✨

int smu7_fan_ctrl_set_fan_speed_pwm (struct pp_hwmgr *hwmgr , uint32_t
speed );

like, look at her. returns an int, takes a struct pp_hwmgr *hwmgr and a uint32_t speed. iconic signature, no notes πŸ‘‘


🫢 ARGUMENTS 🫢

  • hwmgr β€” the address of the powerplay hardware manager. think of it as the main character of this whole operation, you hand it over and the function knows who it's talking to πŸ’–
  • speed β€” is the pwm value (0 - 255) to be set. that's the range, bestie β€” 0 to 255, no cap, don't go outside it πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the lore is deep on this one, so here's the whole friend group 🧚:


ngl, go read the neighbours too β€” smu7_fan_ctrl_set_fan_speed_rpm(9) is the rpm version if pwm isn't your vibe 🌈

and that's the page, bestie πŸ’œ this little number came from ./drivers/gpu/drm/amd/pm/power... and it's stamped October 2026, so like… future icon behaviour fr fr. slay, stay cool (literally), and may your fans never run at the wrong pwm πŸ“βœ¨

πŸ“¦ where this page comes from