Commit graph

32 commits

Author SHA1 Message Date
Presubmit Automerger Backend
a0b798ef6c [automerge] thermal: Adjust CLOSE-SUB1 VSKIN equation 2p: faee7a6ae6 2p: 5d8a8f06c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/23048298

Bug: 280447982
Change-Id: Ie7f25cdc42af4291008b8bf7027460b48d115f2a
2023-05-10 22:27:23 +00:00
TeYuan Wang
faee7a6ae6 thermal: Adjust CLOSE-SUB1 VSKIN equation
CLOSE-SUB1 will cause 5 degC VSKIN correlation gap for solar loading
case, so adding a check to prevent over prediction

Bug: 280447982
Test: adb shell "echo 50000 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
      adb shell "echo 0 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
Change-Id: I3679ca4a72aa3585a0a0718013006fff54918893
2023-05-10 22:27:02 +00:00
sashwinbalaji
73382cc3f2 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: I14fcc2fbddb13d5e2050ae7b5f51e7f3de9ce71f
2023-05-04 00:58:54 +00:00
TeYuan Wang
c809762ffa thermal: Increase "I" to have better control at target temperature
Bug: 269730273
Test: Charge device and confirm thermal log
Change-Id: I6aa02a7963359dd9f75be251f51c4a96da3a3eb7
2023-03-07 22:50:30 +08:00
NT Tsai
25f4d660db Merge "thermal: register sensor for thermal diff between right and left inner display" into tm-qpr-dev 2023-03-03 13:29:37 +00:00
TeYuan Wang
e6898a29f3 thermal: register sensor for thermal diff between right and left inner display
Bug: 260663676
Test: adb shell dumpsys thermalservice | grep INNER-PANEL-DIFF
Change-Id: I0c1528dab395302d3ccdb84022bc1d7bec9bbf5f
2023-03-03 09:36:34 +08:00
TeYuan Wang
38f717943a thermal: increase the throttling speed for BIG cluster
Bug: 267841021
Test: Run burn8 and check the CDEV state
Change-Id: I50f9014d09fdf64dac97f66541056d05cad269cf
2023-02-18 12:49:14 +08:00
TeYuan Wang
7b4560dad5 thermal: more aggressive charging throttling
Bug: 239372822
Test: verified by emul_temp
Change-Id: Ie6cdfefd8443a90e93a0a4984de5ac98f979c4aa
2023-02-08 19:25:27 +08:00
TeYuan Wang
a1c43dba6c thermal: align the gxp throttling policy with P22
Bug: 265609046
Test: verified by emul_temp
Change-Id: I8688208c7b9b2830841c8b81dadf5c0cd682b813
2023-01-31 11:03:15 +00:00
TeYuan Wang
067fd6ce02 [DO NOT MERGE] thermal: update VSKIN equation V0.5
Bug: 254163925
Test: verified by emul_temp
Change-Id: I1f33fa8b728ef31740ba1fe2fc18d1b63ffa4d96
2023-01-12 09:53:22 +08:00
Redick_Lin
1ce504b796 bcl: update temperature condition of BAACL
Bug: 264017586
Change-Id: Id81d45da53c1ae9ee95616e86529d713ba00fbdd
Signed-off-by: Redick_Lin <redicklin@google.com>
2023-01-10 12:45:08 +08:00
TeYuan Wang
64ba8eec26 thermal: refer inner display brightness for VSKIN equation
Bug: 263215628
Test: Check VSKIN log with camera + open/close device
Change-Id: I04b8d008e1dfeec129599255eeb1925f402bf43b
2022-12-30 01:55:48 +00:00
TeYuan Wang
e5c9a0fb81 thermal: update SKIN shutdown threshold
Bug: 249228183
Test: verified shutdown by emul_temp
Change-Id: I5d0e19ba00035171dbb2dd2cdf9193dd74a15bdb
2022-12-22 11:21:41 +00:00
TeYuan Wang
14e2d00e34 thermal: optimize thermal config
1. correct the delay settings
2. Remove the redundant binded cdev settings

Bug: 258393022
Test: emul_temp skin_therm and check the log
Change-Id: I9a60a1b0800b3a24e6ce86f6fa6db82ea14dad9a
2022-12-16 14:51:23 +08:00
TeYuan Wang
7e31fdad99 thermal: update thermal config
1. VSKIN equation V0.4
2. Charging throttling policy V0.2

Bug: 254163925
Bug: 239372822
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I5928850b0e26a17c5712addcb0f1d728cf34d7c9
2022-12-07 20:20:44 +08:00
TeYuan Wang
dd142c7f3c thermal: adjust CPU/GPU throttling policy
1. Combine CPU, GPU to one PID policy
2. Consider modem power for CPU throttling reference

Bug: 239372646
Test: run burn8 and check the sustain temperature
Change-Id: Ida8ff65ce189a16e37baf728cc50a654a8d2ab63
2022-11-25 12:38:28 +00:00
Sayanna Chandula
616c9f341c Merge "thermal: update shutdown threshold for Tj zones" into tm-qpr-dev 2022-11-15 03:25:03 +00:00
Sayanna Chandula
b4372c062a thermal: update shutdown threshold for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: Ie0da3f9a5c505ebdb9a240ac6d1701dea7496e39
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-10-31 12:08:14 -07:00
TeYuan Wang
85b00d60b9 thermal: update thermal table v3
Fix the correlation issue for high RF power case

Bug: 254735947
Test: build
Change-Id: Ic1e3e8f49324e8169417da695192fa786521e583
2022-10-28 19:15:49 +08:00
TeYuan Wang
6ddd559c06 thermal: update VIRTUAL-SKIN equation v1.1
Bug: 247922573
Test: lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I79f8a9cffd3ebdde36a2cf118cb2e6754b5fdbe0
2022-09-22 11:44:32 +08:00
TeYuan Wang
fb71a1c206 thermal: more aggressive CPU throttling policy
Bug: 239372646
Test: run MH and burn8
Change-Id: I52fa275d83f8392105e0e140ebe9969a1e213e99
2022-09-20 19:52:28 +08:00
TeYuan Wang
8f47b098aa thermal: add cellular-emergency policy
Bug: 244114302
Test: emul_temp and check thermal event log
Change-Id: I66a8503673cad943e7bd8fc86d88cb84f71b5022
2022-09-14 17:55:10 +08:00
TeYuan Wang
27929b9fbe thermal: correct the typo for sensor equation of fold mode
Bug: 236787614
Test: emul_temp VIRTUAL-SKIN to EMERGENCY and monitor overheat warning
message

Change-Id: Id45dbc2e7989b9c854f8b4f241d891a76b39cf34
2022-09-14 17:53:27 +08:00
TeYuan Wang
cd3de1891c thermal: bringup charging thermal throttling
Bug: 233844810
Test: verified by emul_temp
Change-Id: I3d92d6495ae547e863f00d743810eaa272868949
2022-08-29 16:21:12 +08:00
TeYuan Wang
e2fcfb0697 thermal: enable sendCallback for SKIN thermal sensor
Bug: 236787614
Test: emul_temp VIRTUAL-SKIN to EMERGENCY and monitor overheat warning
message

Change-Id: I44362239b2037f7e606b9a797a1a1c8da67c1410
2022-08-23 07:56:37 +00:00
TeYuan Wang
2997f76c3e thermal: bringup VIRTUAL-SKIN thermal policy
Bug: 236787614
Test: adb shell dumpsys thermalservice | grep VIRTUAL-SKIN
Change-Id: I2c62aeb5273937b50c8cbe2de5f7ee3337c58e8b
2022-07-27 18:36:57 +08:00
TeYuan Wang
d4b4bbcd35 thermal: bringup USBC throttling policy
Bug: 233003074
Test: build
Change-Id: Iba7360f188f59e046e084089119ac0cc6911365a
2022-07-13 10:15:05 +08:00
Redick Lin
1a4b4c8b97 bcl: Initialize bcl config
Bug: 237361298
Change-Id: I64945f1aa94ea88dee4bcb04b9564c50001c2c41
Signed-off-by: Redick Lin <redicklin@google.com>
2022-07-01 11:54:46 +08:00
TeYuan Wang
151785628d thermal: bringup basic thermal config
Bug: 236787506
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: If12f51a4fe75e1d4487f6e0be0dd74c0e3e72984
2022-06-24 08:27:50 +08:00
TeYuan Wang
0c58e7bed2 Remove the incorrect thermal table to prevent crash
Bug: 225286556
Test: build
Change-Id: Ie82386485fd184bd0aa15cf972fe99d4d03f297b
2022-03-18 15:39:26 +08:00
Cyan_Hsieh
687519c606 update felix device
based on pipit   93e38fbd070b55875d9c23e214dff6d26ac0cdf9
based on cheetah cdc1dc5379faf6bb60cf4f8b4b967ae87992b2ed

Bug: 206057564
Change-Id: I68ca7715cf7fd96066d8d517bc4daf236512f501
2022-03-08 10:59:22 +08:00
Cyan_Hsieh
e7cfbb7e37 Initialize device felix
based on pipit 68a0b4b411e8d23dfd966d24a5c35ea4ffb9d5f1
and cheetah 9acaa7507c23ffc7ca5f82a9579dd3a7c56af809

Bug: 206057564
Change-Id: Id59ed48d2a39c9a5a811c41157732914f3568d51
2021-12-08 16:10:12 +08:00