• Javi Merino's avatar
    thermal: introduce the Power Allocator governor · 6b775e87
    Javi Merino authored
    The power allocator governor is a thermal governor that controls system
    and device power allocation to control temperature.  Conceptually, the
    implementation divides the sustainable power of a thermal zone among
    all the heat sources in that zone.
    
    This governor relies on "power actors", entities that represent heat
    sources.  They can report current and maximum power consumption and
    can set a given maximum power consumption, usually via a cooling
    device.
    
    The governor uses a Proportional Integral Derivative (PID) controller
    driven by the temperature of the thermal zone.  The output of the
    controller is a power budget that is then allocated to each power
    actor that can have bearing on the temperature we are trying to
    control.  It decides how much power to give each cooling device based
    on the performance they are requesting.  The PID controller ensures
    that the total power budget does not exceed the control temperature.
    
    Cc: Zhang Rui <rui.zhang@intel.com>
    Cc: Eduardo Valentin <edubezval@gmail.com>
    Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
    Signed-off-by: default avatarJavi Merino <javi.merino@arm.com>
    Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
    6b775e87
Kconfig 10.7 KB