smu7_fan_ct...an_speed_pwm(9)
π 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 β0to255, no cap, don't go outside it π
π₯ SEE ALSO π₯
the lore is deep on this one, so here's the whole friend group π§:
- Kernel file
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c smu7_fan_ctrl_set_static_mode(9)smu7_fan_ctrl_set_default_mode(9)smu7_fan_ctrl_reset_fan_speed_to_default(9)smu7_fan_ctrl_set_fan_speed_rpm(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)
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
- 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