smu7_fan_ct...an_speed_rpm(9)
π smu7_fan_ctrl_set_fan_speed_rpm β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual π and lemme tell you, this page is literally a tiny one but it's giving main character energy because it's the little function that makes your GPU's fan actually spin at the speed you asked for. no cap. π₯
β¨ NAME β¨
smu7_fan_ctrl_set_fan_speed_rpm β Set Fan Speed in RPM. π
like, that's it. that's the whole job. it sets the fan speed. in RPM. icon behavior, honestly. π
πΈ SYNOPSIS πΈ
int smu7_fan_ctrl_set_fan_speed_rpm (struct pp_hwmgr *hwmgr , uint32_t speed );
so it hands you back an int β classic β and it takes two things: a struct pp_hwmgr *hwmgr and a uint32_t speed. she's simple. she's focused. she knows what she wants. π
π¦ ARGUMENTS π¦
hwmgrβ this is the address of the powerplay hardware manager. like, the whole powerplay situation lives in here, and you're passing her the addy so she knows where to go. π«Άspeedβ this is the percentage value (min - max) to be set. yeah, percentage, we love a units moment π. Exception: it fails if the speed does not lie betweenminandmax. so pls, do not come in here with an out-of-range number, bestie, because it will Not Work. π that's the vibe check, literally.
β οΈ heads up: out-of-range speed β fail. no negotiation, no sliding scale, no "close enough". the bounds are the bounds. π
β SEE ALSO β
okay the little kernel file this whole situation lives in is:
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c
and here's the whole friend group of related calls β go say hi, they all hang out together π:
smu7_fan_ctrl_set_static_mode(9)smu7_fan_ctrl_set_default_mode(9)smu7_fan_ctrl_set_fan_speed_pwm(9)smu7_fan_ctrl_reset_fan_speed_to_default(9)smu7_thermal_get_temperature(9)smu7_thermal_set_temperature_range(9)smu7_thermal_initialize(9)smu7_thermal_enable_alert(9)smu7_thermal_disable_alert(9)smu7_thermal_stop_thermal_controller(9)smu7_thermal_start_smc_fan_control(9)
and that's the whole page, babe π she's short, she's sweet, she spins fans. sign-off time: this little gem comes from ./drivers/gpu/drm/amd/pm/power..., dated October 2026, and she answers to the name smu7_fan_ct...an_speed_rpm(9). periodt. πΈβ¨π¦
π¦ 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