vega20_therm..._temperature(9)
π vega20_therm..._temperature(9) β kernel API manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual entry for vega20_therm..._temperature(9) β yes that's the real title, no I don't know why it's truncated like that, the kernel just does that sometimes π anyway. this is the lil doc for reading a temperature off a GPU thermal controller, and it's honestly short and sweet, so let's get into it π«Ά
β¨ NAME β¨
vega20_thermal_get_temperature β it reads the remote temperature from the SIslands thermal controller. that's it, that's the whole vibe. one job, does it, slay π
πΈ SYNOPSIS πΈ
int vega20_thermal_get_temperature (struct pp_hwmgr *hwmgr );
so you call it, you hand it a hardware manager, and it gives you back an int. iconic signature, no notes β¨
π ARGUMENTS π
hwmgrβ the address of the hardware manager. like, the pointer to yourstruct pp_hwmgr. that's the whole argument list, bestie, we love a one-arg function π
π¦ SEE ALSO π¦
peep these if you wanna go deeper, iykyk π
- the kernel file
./drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.cβ that's where the actual source lives, go read it if you're feeling main character energy π₯ vega20_thermal_set_temperature_range(9)vega20_thermal_enable_alert(9)vega20_thermal_disable_alert(9)vega20_thermal_stop_thermal_controller(9)vega20_thermal_setup_fan_table(9)
like, the whole thermal friend group fr fr β get the temperature, set the range, enable the alert, disable the alert, stop the controller, set up the fan table. one big happy family π
and that's the page!! mwah π this cutie came from ./drivers/gpu/drm/amd/pm/power... and it's dated October 2026, and yep, it's the Kernel API Manual version of vega20_therm..._temperature(9) β no cap, that's literally the footer. go read your GPU's temperature, bestie, and stay cool ππ
π¦ 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