diff options
author | Zhang Rui <[email protected]> | 2015-10-30 16:31:47 +0800 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2015-12-29 15:59:44 +0800 |
commit | bb431ba26c5cd0a17c941ca6c3a195a3a6d5d461 (patch) | |
tree | 10368cd1731f1856bade627fa1f38acd9150d3a5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6 (diff) |
Thermal: initialize thermal zone device correctly
After thermal zone device registered, as we have not read any
temperature before, thus tz->temperature should not be 0,
which actually means 0C, and thermal trend is not available.
In this case, we need specially handling for the first
thermal_zone_device_update().
Both thermal core framework and step_wise governor is
enhanced to handle this. And since the step_wise governor
is the only one that uses trends, so it's the only thermal
governor that needs to be updated.
CC: <[email protected]> #3.18+
Tested-by: Manuel Krause <[email protected]>
Tested-by: szegad <[email protected]>
Tested-by: prash <[email protected]>
Tested-by: amish <[email protected]>
Tested-by: Matthias <[email protected]>
Reviewed-by: Javi Merino <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Chen Yu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions