Commit graph

20 commits

Author SHA1 Message Date
TeYuan Wang
f924e4d528 thermal: align the setting VSKIN related sensors
Bug: 302435949
Test: emul_temp
Change-Id: I3e2b993f48d2d0b3315c636d1f3e646a3d738056
2023-10-20 13:51:17 -07:00
sashwinbalaji
837a22b1d1 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ib24d17454e58cbdb305b146018deac66ee64f875
2023-05-04 09:28:48 +00:00
David Chao
27283d5be0 thermal: more aggressive thermal throttling on BIG
Modify MaxThrottleStep on BIG from 1 to 2 to throttle more aggressively.

Bug: 269409489
Test: Build and boot on device
Change-Id: Iaf0ebc9b9635b212a9a555c93cf352298128e0fb
2023-03-06 04:39:02 +00:00
TeYuan Wang
75f62049e5 thermal: align the gxp throttling policy with P22
Bug: 265609046
Test: verified by emul_temp
Change-Id: If5f4ee86e11a4b430223dcf000f114e9d513eb51
2023-02-01 08:29:18 +00:00
David Chao
5fb6fed0a1 thermal: update thermal config for FCC
- Change charging throttling switch-on temp from 25C to 35C

Bug: 260522422
Test: ThermalHAL throttling worked properly
Change-Id: Ifbf27e56203db712fa4b5e29f1e4a91671ca852c
2022-11-29 16:13:23 +08:00
TeYuan Wang
e8816c6b58 thermal: increase GPU thermal power budget
Bug: 260311882
Test: Test Burn8, MH_OFF, Genshin
Change-Id: I7e0de89275e386446e01233619b54ebc071895ea
2022-11-25 10:09:09 +00:00
David Chao
e21617d617 thermal: update thermal config
Based on EVT1.0 and SpeedTest results to update thermal formula v0.7-1117,
Also add:
- CPU/GPU power budget = CPU/GPU default power budget - MODEM power * 0.3
- Start throttle charging at 25C.

Bug: 257243663
Test: ThermalHAL throttling worked properly
Change-Id: I7c887fd27b776a0be36cddd7f84dcc5b4a736e57
2022-11-17 07:28:19 +00:00
Sayanna Chandula
a426bad653 thermal: update shutdown thresholds for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: I96ea572c63595cd2396dc64a3045cca8a63f44fe
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-11-15 03:25:01 +00:00
David Chao
96ab71498c thermal: update thermal config for EVT1.0
Based on Safety results to modify thermal formula V0.6 for EVT1.0.

Bug: 253992204
Test: boot to home and thermal throttling worked properly.
Change-Id: I545fd4d0fce8dadbf82c45f4f867eb06e811719b
2022-10-21 19:39:17 +00:00
David Chao
396f97cf15 thermal: increase charging current on WLC charging throttling
Increase cdev_ceiling on WLC:
- MODERATE: from 10 (100mA) to 8 (250mA)

Bug: 250938144
Test: boot to home and thermal throttling worked properly
Change-Id: I978efc8e922e7c7100a3bd557f7d935174d632fd
2022-10-17 09:05:21 +00:00
David Chao
9660347745 thermal: modify GPU thermal throttling policy
- Change GPU CdevCeiling because GPU available_frequencies has been
  increased 2 states from 10 to 12.

Bug: 250502714
Test: boot to home and thermal throttling worked properly
Change-Id: I65751bd91c2767389732e5ca0160afb8b3ef42ad
2022-10-04 17:28:53 +08:00
David Chao
f8ee975465 thermal: more aggressive CPU/GPU thermal throttling policy
- Spower change from 1100 to 800

Bug: 248392264
Test: boot to home and thermal throttling worked properly
Change-Id: I760072cdec8523deb6075280912b0c264db2e36a
2022-10-04 17:28:03 +08:00
David Chao
3e50915d85 thermal: more aggressive thermal throttling policy
- Lower Spower from 1500 to 1200 for Wired charging

Bug: 249464740
Test: boot to home and thermal throttling worked properly
Change-Id: Ibfebb23b74fcd6d8670e05c0b023157f4fd34141
2022-09-28 19:02:40 +08:00
David Chao
9f17360f7b thermal: more aggressive thermal throttling policy
- CPU/GPU more aggressive throttling

Bug: 248392264
Test: boot to home and thermal throttling worked properly
Change-Id: Idfa7ec21877a11000d2c6d17e4bbcabc9606f58c
2022-09-28 19:01:48 +08:00
David Chao
bd7e8ead24 thermal: update thermal config
Based on EVT1.0 thermal results to adjust virtual sensor formula and
WLC charging throttling.
- Virtual-skin version v0.5
- Switch on temp 35C, target temp 39C, spower 2000

Bug: 236562040
Test: ThermalHAL throttling worked properly
Change-Id: I4fb4a5da702a9b904a7377df55f0bb362c74199d
2022-09-14 10:26:40 +00:00
David Chao
af60880652 thermal: enable VIRTUAL-CHARGE sensor for thermal_recorder
Remove "Hidden" to enable VIRTUAL-CHARGE sensor for thermalservice,
So that thermal_recorder can record the temperature and seveirty for
tuning.

Bug: 242944140
Test: thermalservice can read VIRTUAL CHARGE sensors.
Temperature{mValue=26.606302, mType=3, mName=VIRTUAL-SKIN, mStatus=0}
Temperature{mValue=26.577953, mType=-1, mName=VIRTUAL-SKIN-CHARGE, mStatus=0}
Temperature{mValue=26.92495, mType=-1, mName=VIRTUAL-SKIN-CHARGE-WLC, mStatus=0}

Change-Id: Icc38895d19ff7d89e307e96c2b35e26d43c1a753
2022-08-19 08:48:20 +00:00
David Chao
5caf26d1e6 thermal: enable fcc & dc_icl PID charging throttling
- Enable fcc & dc_icl SKIN PID charging throttling with state2power table
- Switch on temp 35C, target temp 39C

Bug: 239507440
Test: Charging throttling worked as expected.
Change-Id: I172b71e64f6dc03627c4c33be556080a1a29d777
2022-08-18 01:48:16 +00:00
David Chao
20ef1286dc thermal: update thermal config
1) Based on Proto1.0 and 1.1 thermal result to modify VIRTUAL-SKIN formula v0.4.
2) Add WLAN and DISPLAY odpm power rail in PARTIAL_SYSTEM_POWER
3) Enable USB overheat protection polling log 3 degC earlier.
4) Set the cdev_ceiling for CPU/GPU to avoid the abnormal throttling request when ODPM has issue.
5) Move target temperature from 45 degC to 41 degC.

Bug: 236562040
Test: ThermalHAL throttling worked properly
Change-Id: I78ec8c1fe44f3674d4f578c8e48a50f004c406f3
2022-08-18 01:48:16 +00:00
David Chao
c3ea2b16cf thermal: update thermal config
1) add usbc overheat mitigation v0.1.
2) add VIRTUAL-SKIN formula v0.1.
3) enable thermal throttling as P10 device.

Bug: 231404311
Bug: 229581307
Test: Build and boot on device.
Change-Id: I6d2f3c4860112df43aef9eedaef121a1f47365d4
Signed-off-by: David Chao <davidchao@google.com>
2022-06-09 03:17:57 +00:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00