vega10_therm...rature_range(9)
π 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_BadInputif the input data is not valid. like, if you feed her garbage data she's gonna hand you backPP_Result_BadInputand 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:
vega10_fan_ctrl_set_static_mode(9)vega10_fan_ctrl_set_default_mode(9)vega10_enable_fan_control_feature(9)vega10_fan_ctrl_set_fan_speed_pwm(9)vega10_fan_ctrl_reset_fan_speed_to_default(9)vega10_fan_ctrl_set_fan_speed_rpm(9)vega10_thermal_get_temperature(9)vega10_thermal_initialize(9)vega10_thermal_enable_alert(9)vega10_thermal_disable_alert(9)vega10_thermal_stop_thermal_controller(9)vega10_thermal_setup_fan_table(9)vega10_thermal_start_smc_fan_control(9)
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
- 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