Commit Graph

10 Commits

Author SHA1 Message Date
Vincent Palomares
73ec7fa018 muskie: MNH mitigation monitor.
Bug: 119689840
Test: Tested manually using a dummy cooling device
Change-Id: I27bbf7e4c1c5a67f3f0d36fce13651a7702c2168
Signed-off-by: Vincent Palomares <paillon@google.com>
2019-06-12 19:28:04 +00:00
Vincent Palomares
5a4052dfd8 Upgrading Walleye's thermal HAL version to 2.0.
Also increasing thermal-engine skin shutdown threshold to let the framework
shutdown gracefully (see b/119221890).

Bug: 118689758
Test: adb shell dumpsys hardware_properties
      adb shell su 0 lshal debug android.hardware.thermal@2.0::IThermal/default
      pts -m PtsThermalHalTestCases
      vts -m VtsHalThermalV1_0Target
      vts -m VtsHalThermalV2_0Target
Change-Id: I089c54c722089f12affae488c81c039405839b5e
Signed-off-by: Vincent Palomares <paillon@google.com>
2018-12-10 11:20:53 -08:00
Todd Poynor
e5e23c81b9 thermal: add throttling notification rules to thermal-engine configs
Add monitor algorithms for the temperatures covered by throttling
rules to the VR-mode and non-VR-mode thermal-engine.conf files,
with "report" actions that send event notifications to the Android
framework.

Bug: 30982366
Test: manual on walleye (with artifically low threshold)
Change-Id: I33ff9c44c684640f4af960a53533717d02506814
2017-09-19 16:37:34 +00:00
Jia-yi Chen
8855303a7f thermal-engine: Update policies
1) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR-BC to 1497600
2) Raise SKIN-LOW-FLOOR-BC set_point to 47 degreeC
3) Add back the most aggresive throttling at 54 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: Ibcd5bae397abcf9dc9b4c73244ff2d30c77fcbd5
2017-07-21 07:58:41 -07:00
John Dias
b208719b07 Update thermal throttling settings
For normal mode, use device_max_limit as recommended by QC
("device_perf_floor is used for chipsets with shared voltage rail
    between silver and gold (e.g. 8996/8996pro)
  device_max_limit is used for chipsets that have split rail
    architecture (i.e. one voltage rail per cluster, 8998, 8994").
For VR mode, add an aggressive throttle just before shutdown.

Bug: 36458508
Test: Booted, checked throttling with adjusted temps
Change-Id: Ie8c3c7d550f1a108fbd268fefed4c53708deeb03
2017-07-05 13:48:12 -07:00
Jia-yi Chen
b6b25c129e Lower shutdown threshold to allow margin for compliance requirements
Also update the shutdown in VR mode

Bug: 34113644
Test: boot and check logcat
Change-Id: Id965e18c3ddfaa9d333e4a8d720507a252d137a5
2017-06-17 02:35:02 +00:00
kame_wang
b547a913e8 Use back_therm as CPU throttling thermistor
Change-Id: I38220e0dd35a15557c0b365d7d9aa2ac90533953
2017-06-08 11:25:37 -07:00
Jia-yi Chen
2ae187e7cd Lower skin shutdown by 1 degreeC based on lab data
Test: boot, check logcat ThermalEngine
Change-Id: I1e4d7880a35f50783f330485b4fd50369a085987
2017-05-23 12:42:09 -07:00
kame_wang
eeabfa339a update thermal table with CPU/GPU throttling and back_therm shutdown mechanism
bug: 3700896
Test: build
Change-Id: Ic233dab0237cd90df6216f43e22757d059778192
2017-04-25 14:23:05 -07:00
John Dias
13d5312c3d thermal: add thermal conf with shutdown temps
Bug: 35700896
Test: boot, check for thermal-engine messages
Change-Id: Ie8e7f03c8d54d1d2f10057171651785954b3fac1
2017-04-06 15:33:11 -07:00