diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-15 18:55:13 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-29 15:37:56 +0100 |
commit | f2675e588f928f7f3051765563a18f90332bd57b (patch) | |
tree | 8c5c6847bd0cf09fde824562f72b3dda4f5dca7f /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | c6a783be82c893c6f124a5853bef2edeaf26dadf (diff) |
thermal: gov_fair_share: Fix dependency on trip points ordering
The computation in the fair share governor's get_trip_level() function
currently works under the assumption that the temperature ordering of
trips[] in a thermal zone is ascending, which need not be the case.
However, get_trip_level() can be made work regardless of whether or not
the trips table is ordered by temperature in any way, so change it
accordingly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions