smu7_fan_ct..._static_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” default
    • 1 β€” by percent
    • 5 β€” 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


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