estimate_pid_constants(9)
π estimate_pid_constants(9) π
okay bestie, welcome to the Kernel API Manual β¨ this page is literally all about estimate_pid_constants, and it's giving very specific thermal-zone energy. Let's get into it π
πΈ NAME πΈ
estimate_pid_constants β Estimate the constants for the PID controller π
β¨ SYNOPSIS β¨
void estimate_pid_constants (struct thermal_zone_device *tz , u32 sustainable_power , const struct thermal_trip *trip_switch_on , int control_temp );
π«Ά ARGUMENTS π«Ά
tzβ the thermal zone for which to estimate the constants π‘οΈsustainable_powerβ the sustainable power for the thermal zone β‘trip_switch_onβ the trip point for the switch on temperature π₯control_tempβ the target temperature for the power allocator governor π―
π DESCRIPTION π
This function is used to update the estimation of the PID controller constants in struct thermal_zone_parameters β¨ like, that's the whole vibe. It's updating the estimation, periodt. No cap, that's what it does π«Ά
π₯ SEE ALSO π₯
The kernel file is ./drivers/thermal/gov_power_allocator.c, and the whole linked squad is:
mul_frac(9)div_frac(9)struct power_actor(9)struct power_allocator_params(9)estimate_sustainable_power(9)get_sustainable_power(9)pid_controller(9)power_actor_set_power(9)divvy_up_power(9)get_governor_trips(9)check_power_actors(9)power_allocator_bind(9)
mwah π signed, sealed, and delivered by estimate_pid_constants(9) from source/version ./drivers/thermal, dated October 2026 β catch u later bestie π«Άπ
π¦ 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