throttlectl_...level_select(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ throttlectl_...level_select ✨

okay so real quick β€” this is a page straight out of the Kernel API Manual, and it's about one lil function that tells the GPU how hard to chill out. literally its whole personality. πŸ’…


πŸ’– NAME πŸ’–

throttlectl_gpu_level_select β€” picks out which throttling level the GPU is gonna be living at πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void throttlectl_gpu_level_select (struct tegra_soctherm *ts , enum
   soctherm_throttle_id throt );

like yes bestie it's a void function, we'll get to that whole situation in a sec πŸ’€


🌸 ARGUMENTS 🌸

  • ts β€” a pointer to a struct tegra_soctherm. that's the soctherm instance you're messing with, mwah 🫢
  • throt β€” the LIGHT/HEAVY of the throttle event id. that's your vibe selector, iykyk ⭐

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this function programs soctherm's interface to GK20a NV_THERM so it can select one of the pre-configured throttle levels: "Low", "Medium", or "Heavy". that's it, that's the whole job, and it ate πŸ’…βœ¨

the way it just goes in and picks the level… iconic behavior honestly πŸ‘‘


🌈 RETURN 🌈

returns boolean true if HW was programmed β€” no cap, that's what the page says πŸ˜­πŸ™ˆ


🧚 SEE ALSO 🧚

bestie the reading list is long and I'm obsessed with how thorough it is. go be a main character and read all of these fr fr πŸ‘‘πŸ“š

also the kernel file lives at ./drivers/thermal/tegra/soctherm.c if u wanna go snooping πŸ‘€πŸ”


✨ quick reminder bb: keep every detail exactly as written β€” the flags, the paths, the numbers. slay responsibly πŸ’–

and that's the whole page!! shoutout to ./drivers/thermal/tegra for bringing us this absolute banger of a manpage, dated October 2026, no cap. go program some hardware, bestie β€” you're literally built for this πŸ«ΆπŸ’œπŸŒΈ

πŸ“¦ where this page comes from