Commit graph

19 commits

Author SHA1 Message Date
sashwinbalaji
29348397c7 thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: I78182ce4952bc906dcb1bafac684ecf77f4280a4
2023-04-25 07:41:41 +00:00
S Ashwin Balaji
81c3d15b02 Merge "thermal: thermal config clean up" into tm-qpr-dev 2023-03-07 01:59:09 +00:00
sashwinbalaji
1fe9c52bca thermal: Update VSkin equation
For better VSkin/Tskin correlation update the coefficients and offset

Bug: 267575487
Test: Local build and verify lshal
Change-Id: I401b37a8cba095d7f1452a0af0216b336df1e169
2023-02-16 16:36:27 +08:00
TeYuan Wang
15cf13aed4 thermal: thermal config clean up
Bug: 265361812
Test: adb shell dumpsys thermalservice
Change-Id: I897d1a52b92821e34412d5a25e6507eccae4b8a4
2023-02-02 14:35:57 +08:00
TeYuan Wang
37dc2b7dbd thermal: update USBC throttling policy
Bug: 265951418
Test: verified by emul_temp
Test: Run astress for 2 hr and no crash and false positive triggered
Change-Id: I7c3d0f63ecd614343a47cf60498b9472ae846faf
2023-02-02 02:35:23 +00:00
TreeHugger Robot
167d1f7502 Merge "thermal: align the tpu, gxp throttling policy with P22" into tm-qpr-dev 2023-02-01 08:29:20 +00:00
TeYuan Wang
e45d8c53c1 thermal: align the tpu, gxp throttling policy with P22
Bug: 261692386
Test: verified by emul_temp
Change-Id: I49b29efe9d3da5330beaee5b73563657c1d976e9
2023-01-31 13:15:08 +08:00
sashwinbalaji
cdee1127cf thermal: Update Vskin shutdown threshold
Bug: 254021613
Test: use to emul_temp to trigger shutdown
Change-Id: Idba86c31cc49463e81f23577acacf261ea926600
2023-01-17 00:54:41 +08:00
sashwinbalaji
807c27a95e thermal: Update trigger sensors
- Add disp_therm, neutral_therm as VSkin trigger sensors.
- Remove quiet_therm as trigger sensor.

Bug: 261149274
Test: Update local config and use emul_temp
Change-Id: I904af100ad5e684a24cfdeb3f600cf28ed2ccd78
2023-01-17 00:54:26 +08:00
sashwinbalaji
e17926c541 thermal: modify GPU thermal throttling policy
- Change GPU CdevCeiling because GPU available_frequencies has been
  increased 2 states from 10 to 12.

Bug: 250821266
Test: Update config and test cur_freq by changing state
Change-Id: I2dde124c059a93340ce9998139062d4951058a78
2022-12-26 17:53:59 +08:00
sashwinbalaji
94157b77ec Thermal: Update passiveDelay and pollingDealy of trigger sensors
Align the delays in accordance with older devices

Bug: 254263444
Test: build and emul_temp
Change-Id: I6d7bfaef87c9f4a3d81644425b6687bacb3ef0f4
2022-12-15 12:21:31 +08:00
sashwinbalaji
e8a062b1fb thermal: Update VIRTUAL-BACK-CHARGER Sensor
- Add triggerSensor
- Increase PassiveDelay

Bug: 254020998
Test: tested locally using emul_temp
Change-Id: I349f85a60f82c97e27cb031c0cc3be30ae8f8981
2022-12-14 15:28:47 +08:00
sashwinbalaji
4c6b6d02aa thermal: add charging throttling policy
- Align thermal charge config with older devices
- Add hardlimit for fcc

Bug: 254020998
Test: tested locally by verifying lshal and logs
Change-Id: I96460871a2fa9ad714f9a3e2e722a0ab62fa4ba6
2022-12-07 08:06:08 +00:00
sashwinbalaji
d9e676ad01 thermal: add CPU GPU throttling policy and VIRTUAL-SKIN-HINT
- Add VIRTUAL-SKIN-CPU-GPU
  - Add PID and BindedCdev aligning with older devices
- Add VIRTUAL-SKIN-HINT
  - Modify light temp from 39 to 37

Change-Id: I648680eedcd508bf2d81ad8d04f5e5a17a1f508f
Bug: 261148703(skin hint)
Bug: 254021126(cpu policy)
Bug: 254021580(gpu policy)
Test: use local build to check lshal and log
2022-12-05 12:14:11 +08:00
sashwinbalaji
dcd8724722 thermal: update VIRTUAL-SKIN sensor equation for EVT2
Bug: 259641711
Test: used local build to verify change in VIRTUAL-SKIN
Change-Id: I58f652789bb4772bc4003f734dfe4bdd584f924d
2022-11-21 16:56:21 +08:00
Redick Lin
c753682653 bcl: update trigger condition for BAACL mechanism
Bug: 237469885
Change-Id: Iff8fc738982940638be4594b31f654d315bf1f9b
Signed-off-by: Redick Lin <redicklin@google.com>
2022-07-29 10:32:57 +08:00
Redick Lin
e35a7cc8d3 bcl: Initialize bcl configurations
Bug: 238142795
Change-Id: Id3de17257653b568faf3d6dd74e322edf7cd4602
Signed-off-by: Redick Lin <redicklin@google.com>
2022-07-11 17:45:40 +08:00
sashwinbalaji
16ef75dd9d thermal: update sensor equation for VIRTUAL-SKIN
Add missing thermal zone sensors and VIRTUAL-SKIN
enable thermalHal

Bug: 235298256
Test: used local build to verify change in VIRTUAL-SKIN
Change-Id: Iaf6fab5fb14ef85c8a399d6fe1b5d90d034649f6
2022-06-30 11:27:28 +08:00
Roger Liao
dd5f546264 Add device tangorpro
based on two sources:
1. 52e030ecef8a2debcd0a7cebb0b2cddc50e8e4e6
(ChangeId: Ieba6a75fe45595592c61dc5ad4e0c723adccaf35)
2. 3164f3d31b1197f305d968027f2e6f18663f1382
(ChangeId: Ic517f1cd5462f3653de3742834ec251362e7849d)

No-Typo-Check: based on above commit

Bug: 220073297
Change-Id: I244f73dc8485045e1bc4605a2701a1e4d32139b0
2022-03-09 19:30:09 +08:00