smu7_fan_ct...an_speed_rpm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 between min and max. 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 🌈:


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