smu7_fan_ct..._static_mode(9)
π smu7_fan_ctrl_set_static_mode(9) β the "you're in charge now" fan function π
okay so bestie, welcome to the Kernel API Manual, section 9 β this page lives at smu7_fan_ct..._static_mode(9) (the long name is a whole mouthful, we know, it's giving "my full legal name" energy π) and it's literally all about handing the fan keys over to you.
β¨ NAME β¨
smu7_fan_ctrl_set_static_mode β Set Fan Speed Control to static mode, so that the user can decide what speed to use.
likeβ¦ that's it, that's the whole vibe. the kernel steps back, you step up, the fan does whatever you say π«Ά
π SYNOPSIS π
int smu7_fan_ctrl_set_static_mode (struct pp_hwmgr *hwmgr , uint32_t
mode );
returns an int, takes a struct pp_hwmgr * and a uint32_t, and honestly it's not that deep β but like do read the args, bestie π.
π¦ ARGUMENTS π¦
hwmgrβ the address of the powerplay hardware manager. yes, that's the actual pointer you're passing in, the main character of the show πmodeβ the fan control mode, and here's the menu, no cap:0β default1β by percent5β by RPM
π¨ Exception alert π¨ β this one Should always succeed. like, it's the chillest function ever, it's not here to fail you, okurrr β¨
π SEE ALSO π
the whole squad, fr fr β these are the sibling functions and the kernel file where the magic lives:
Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c
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_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)
and that's the page, bestie!! π§ this gem came from the kernel source at ./drivers/gpu/drm/amd/pm/power... and it's dated October 2026 β so like, future vibes only πΈπ« mwah, go set some static fan speeds, slay π
π₯
π¦ 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