vega10_therm...rature_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vega10_thermal_set_temperature_range(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's giving "thermostat but make it kernel," and honestly? iconic. This is the little function that tells your GPU's thermal situation what temperatures count as "too hot" and "chilly," so it knows when to yell at you with high and low alert signals. no cap, it's the vibe check for your silicon πŸ”₯


✨ NAME ✨

vega10_thermal_set_temperature_range β€” literally just setting the requested temperature range for the high and low alert signals. that's it, that's the whole job, and she does it well πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int vega10_thermal_set_temperature_range (struct pp_hwmgr *hwmgr ,
struct PP_TemperatureRange *range );

int-returning, two-arg, main character energy. periodt ✨


🌸 ARGUMENTS 🌸

  • hwmgr β€” the address of the hardware manager. yes bestie, the address. this is the VIP pass to the hardware-management party, and you gotta hand it over before anything else happens 🫢
  • range β€” the temperature range to be programmed for high and low alert signals. this is the actual tea: the numbers that define when the alerts go off. 🌑️
⚠️ ok so important caveat time, don't skip this: Exception: PP_Result_BadInput if the input data is not valid. like, if you feed her garbage data she's gonna hand you back PP_Result_BadInput and honestly? fair. invalid input = invalid result, no exceptions (well, one exception, it's the exception listed above 😭)

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, and they all ate:

also the source file lives at ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c β€” go say hi, she doesn't bite 🧚


sign-off time, bestie πŸ’œ this lil page comes from the Kernel API Manual, sourced from ./drivers/gpu/drm/amd/pm/power..., dated October 2026, and it's filed under vega10_therm...rature_range(9). iykyk 🌈 stay cool (literally β€” go set your temperature range) πŸ’…βœ¨

πŸ“¦ where this page comes from