Commit graph

23 commits

Author SHA1 Message Date
TeYuan Wang
d28196ccc3 thermal: add CPU policy for camera mode
Disable VIRTUAL-SKIN-CPU-HIGH for camera mode

Bug: 290225694
Test: run camcorder
Change-Id: I175f95df41cd72e1075dc19be488642ad5e3f073
2023-07-25 23:21:54 +00:00
Peter (YM)
153e46e11d thermal: remove HotHysteresis for CPU-MID and CPU-HIGH loop
We found that CPU-MID loop will cause big bouncing (~2 degC) during
light loading test (burncycle with dutycycle), we can avoid such
bouncing by remove stop CPU-MID loop at 39.
Apply same change on CPU-HIGH to avoid similar issue.

Bug: 286773651
Test: run burn8 / burncycle_wih_dutycycle / gb5
Change-Id: I11cfbb940a556793ce1fe6d08ff06fc1df55d52a
Signed-off-by: Peter (YM) <peterym@google.com>
2023-07-19 16:07:52 -07:00
TeYuan Wang
811fcabbc0 thermal: update VSKIN equation for DVT
Bug: 291150669
Test: boot to home
Change-Id: Iaf3a109505e5c2632b855f1f75f36fd74be8dcc3
2023-07-19 22:27:49 +00:00
TeYuan Wang
b560d11163 thermal: update USBC throttling policy
usb_pwr_therm will be impacted by MODEM, so add more rules to
avoid false positive

Bug: 286482405
Test: emul_temp
Change-Id: I98ba998857cb4b1f876d51129becdb27d4356fd6
2023-07-11 20:50:44 +00:00
Treehugger Robot
86ff3d0aec Merge "Update BTS window partial coefficients" into udc-d1-dev 2023-07-06 22:37:11 +00:00
Dan Moore
58342d8229 Update BTS window partial coefficients
The BTS window partial temperature is synthesized via component sensors.
The equation has been updated to reflect larger RCAM bezel present on
DVT units and beyond. The sensor HAL applies the final component to
create the BTS window temperature. This also fixes a bug where
previously the Offset value was off by a factor of 10, resulting in a 1
degree overestimate.

Test: sensor_test confirms reasonable window temp w/ sensor HAL update
Bug: 280076251
Change-Id: I659adbfeccfaf2832c740fd2ab14884948b3ed49
2023-07-06 14:24:36 -04:00
Treehugger Robot
eee73e9e57 Merge "thermal: update VSKIN equation based on EVT1.1 results" into udc-d1-dev 2023-06-29 22:09:32 +00:00
TeYuan Wang
e33ce497c5 thermal: update VSKIN equation based on EVT1.1 results
Bug: 286111703
Test: adb shell dumpsys android.hardware.thermal.IThermal/default
Test: adb shell dumpsys thermalservice
Change-Id: I7fa4f0f482e419d46f9c0dd030d1dcc02f6dcb5e
2023-06-29 02:05:10 +00:00
TeYuan Wang
2e7e899744 thermal: switch thermal policy by game mode
Bug: 273618797
Test: run Genshin and confirm thermal profile properties
Change-Id: I567010a9ecc339f23dae967074954c355ab8089e
2023-06-26 18:10:48 +00:00
TeYuan Wang
52a07319f4 thermal: update CPU throttling policy
Bug: 258136274
Test: emul_temp
Change-Id: I0afcf40200cecbb1a6bb52f4bad8666015e09eaa
2023-06-08 11:29:31 +00:00
Wei Wang
619eb0e4d1 Merge "thermal: update I_Cutoff for GPU PID loop" into udc-d1-dev 2023-05-26 16:13:04 +00:00
TreeHugger Robot
69dcf276dd Merge "thermal: remove MMWAVE from partial system power reference" into udc-d1-dev 2023-05-26 09:41:41 +00:00
Peter (YM)
72901aa481 thermal: update I_Cutoff for GPU PID loop
Increase the I_Cufoff value to make the power budget update more frequently

Bug: 258136466
Test: Run manhattan 3.1 offscreen
Change-Id: Iece2064ed06b9883ab52084baf3031c74f83b0ef
2023-05-26 09:07:49 +00:00
TeYuan Wang
6c12db400a thermal: update thermal policy according to the new CPU dvfs
Bug: 281740658
Test: emul_severity
Change-Id: I76686421764e2dfae3de9be78ef16a1c3dee9e70
2023-05-24 18:05:41 -07:00
TeYuan Wang
cfde3b3142 thermal: update thermal policy according to the new CPU dvfs
Bug: 281740657
Bug: 274068928
Test: emul_severity
Change-Id: Iee99e205e3250ee742fb643e38378941ed32aec3
2023-05-22 14:20:39 -07:00
Treehugger Robot
7f75d907d4 Merge "thermal: Update config for stats" into udc-d1-dev 2023-05-17 15:00:39 +00:00
sashwinbalaji
0557a425ae thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ic79dc44db69238b2ec13be5f9b200a0725f642ac
2023-05-17 14:10:54 +00:00
Peter (YM)
6ed9d8de86 thermal: remove MMWAVE from partial system power reference
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.

Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch
Change-Id: I39c3f468f6cda269a5cacce92d346c5b9848b13b
Signed-off-by: Peter (YM) <peterym@google.com>
2023-05-17 08:51:04 +00:00
Treehugger Robot
bd0ae3ea01 Merge "thermal: Adjust throttling policy w/ 26 chg_mdis levels" into udc-d1-dev 2023-05-17 04:54:05 +00:00
TeYuan Wang
d6469ed471 thermal: Adjust throttling policy w/ 26 chg_mdis levels
The kernel side supports 26 levels of chg_mdis throttling now (pa/2492504), so having this change to provide more smooth charging throttling.

Bug: 258136311
Test: check VSKIN-CHARGE temperature w/ charging test
Change-Id: I0d4eddc95aaef5777c07a26985929ee72dc2d1e6
2023-05-17 04:52:53 +00:00
TeYuan Wang
df5fa53c5d thermal: enable sendCallback for VSKIN-SPEAKER
Bug: 282062889
Test: adb shell dumpsys android.hardware.thermal.IThermal/default emul_temp VIRTUAL-SKIN-SPEAKER 37001
Change-Id: Ib2b180b49223da178f1fb6f7e694a17166187829
2023-05-15 14:37:29 -07:00
TeYuan Wang
0807a5ff7f thermal: adjust GPU throttling policy
Bug: 258136466
Test: run MH_OFF
Change-Id: Ide5cad291832558a37ede742772dae61936c6bcb
2023-05-03 10:44:36 -07:00
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00