Commit graph

90 commits

Author SHA1 Message Date
TeYuan Wang
a167b5338b husky: thermal: fix incorrect PMU_POLL CRITICAL thermal power hint
Bug: 288353427
Test: emul_temp
Change-Id: Idc6dba769a64a3aa9c9328eb9b12cf085b6579db
2023-06-22 05:59:22 +00:00
Shijie (Jessie) Hu
2c1eee9f02 [Project11] Powerhint for project11
Bug: 284500427
Test: Ongoing. with ag/23546319

- Create powerhint for project11. Powerhints are branched from
  CAMERA_STREAMING_STANDARD with some modification
  - Add back MIFTargetNode
  - Set MIFTargetNode value to 20 80 to avoid MIF operation point go to max
  - Value need more test before final submission.

Change-Id: I47659cca7e0a26e240e91b1d1a49dc61d76b6b90
2023-06-14 13:19:54 -07:00
paulsu
3e3acc0906 Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default
Bug: 280258727
Test: Found regression in b/286002292, local test.
Change-Id: I78db6fefe042f0b380e48f1fad5ccb477dd38dbe
Signed-off-by: paulsu <paulsu@google.com>
2023-06-14 04:29:03 +00:00
TreeHugger Robot
95302b8c54 Merge "powerhint: Reduce StaleTimeFactor" into udc-d1-dev 2023-06-13 07:47:11 +00:00
Treehugger Robot
8bd33ebc3b Merge "powerhint: boost DSU to 1.8GHZ" into udc-d1-dev 2023-06-09 22:51:27 +00:00
Ziyi Cui
b15cd964d3 powerhint: Reduce StaleTimeFactor
Reduce StaleTimeFactor for power saving

Bug: 269523712
Test: boot and run uibench
Change-Id: I1bc2483a30c11bfe840f796ddc11e3c9496f5e78
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-06-09 21:49:42 +00:00
TreeHugger Robot
150adb6227 Merge "powerhint: Enable PMU limit" into udc-d1-dev 2023-06-08 01:54:13 +00:00
TreeHugger Robot
08b63e2f9c Merge "Create group throttle powerhint" into udc-d1-dev 2023-06-07 21:46:03 +00:00
Ali K. Zadeh
55d7041956 Enable PMU, use cam2 EM profile for 240fps
Bug: 279955604
Test: ODPM/Framedrop
(https://docs.google.com/spreadsheets/d/1XZptKVjIAt1mVPOvYH2JeHOhOlOufmxQX7tbSsq22KA/edit?usp=sharing)

Change-Id: Iad6199abd7cbc3fdbb3f25f8d88d78694feacc1f
2023-06-07 16:27:14 +00:00
Ali K. Zadeh
ea56957483 Use all cores, reduce DVFSHeadroom, CPUUtilThreshold for 240fps
Bug: 279955604
Test: ODPM/Framedrop/Kibbles (b/279955604#Comment7, b/279955604#Comment9)
Change-Id: Ie5d00dd23ec005cb981e8d6f26d91e2b39648de0
2023-06-07 16:26:47 +00:00
paulsu
4b0a0e63ee Create group throttle powerhint
Test: Local test
Bug: 280258727
Signed-off-by: paulsu <paulsu@google.com>
Change-Id: I447d4a0859f4af681f83df8fa094718959bc2619
2023-06-07 08:13:13 +00:00
Taeju Park
aaab542d55 powerhint: Port powerhints for LAUNCH from Pantah
Bug: 258095095
Change-Id: I481b807f87f61f115d5b6d43a42410fbbe3c2d1e
Signed-off-by: Taeju Park <taeju@google.com>
2023-06-06 21:06:24 +00:00
David Chao
8feb306189 thermal: update powerhints for thermal trips
- Add 5C for LITTLE core trips
- Set Big early throttling at 5C above control temp after
  trip change to avoid irq storm. This would act as alert for
  PI loop

Bug: 241784772
Test: Device can boot to home and Tj thresholds changes properly by
powerhint.

Change-Id: Id9ddb9aad98a7a6d192f97001317e1eff72c6246
2023-06-05 12:07:02 -07:00
Yvonne Yip
439f08b516 powerhint: Fix down_rate_limit hints for shiba
Bug: b/283319548
Test: Boot and check trace from display inactive to active

Change-Id: I564c17042c4877deed4c3d29ad696a0d8a74611b
2023-05-31 14:28:45 -07:00
Ali K. Zadeh
c3a29e0de7 Merge "Enable PMU, use cam2 EM profile for 60fps" into udc-d1-dev 2023-05-27 20:28:08 +00:00
Ali K. Zadeh
a853895d3f Enable PMU, use cam2 EM profile for 60fps
Bug: 256723111
Test: ODPM/Framedrop (https://docs.google.com/spreadsheets/d/1U7RvqW7x7PbZh-NML_HvBuaXDHbnUDN4QrRCdUHzPQI/edit?usp=sharing)
Change-Id: I4384078b49075c43490909f56f3297ad63ff9987
2023-05-26 23:50:17 +00:00
Wei Wang
1e6f2fad18 perf: change the order of the rate limit vote
Bug: b/283319548
Test: none
Change-Id: Icf23f3ce0286045846785459ef8066ff5ae5b8c2
Signed-off-by: Wei Wang <wvw@google.com>
2023-05-26 15:08:00 -07:00
Yvonne Yip
29f7f5e0a2 powerhint: fix DISPLAY_UPDATE_IMMINENT down_rate_limit hint
Bug: b/283319548
Test: Check traces during screen off to on transition
Change-Id: Ia37d1a3aa20d3f385ea5885c5d6a967cbdf52704
2023-05-26 10:36:31 -07:00
Taeju Park
176a14d81e powerhint: Enable PMU limit
Enable PMU limit for
1. battery saver mode
2. thermal warning

Bug: 258095095
Change-Id: I251452b1f6f30c533e7867ce0be31e9f908097ed
Signed-off-by: Taeju Park <taeju@google.com>
2023-05-25 22:50:10 +00:00
Ali K. Zadeh
ea22030210 Disable CDPreferIdle and allow all 8 cores for 30fps
Bug: 279955604
Test: ODPM/Framedrops (b/279955604#comment2)
Change-Id: I3852d129faf2ef6c710232d2fc05c0830c479bdb
2023-05-24 22:32:35 +00:00
Lisa Liu
0c9c2690bb powerhint: boost DSU to 1.8GHZ
Bug: 258100337
Bug: 282086101
Test: Build and abtd run result
Change-Id: Ic8c9b34f54575a5b6124a957548250fcfb23545d
2023-05-23 02:32:11 +00:00
Yvonne Yip
144a806935 powerhint: decrease down_rate_limit_us when DISPLAY_INACTIVE
Bug: b/283319548
Test: Boot and check
/sys/devices/system/cpu/cpu*/cpufreq/sched_pixel/down_rate_limit_us for
screen on and screen off cases.

Change-Id: I9902d50198b8da418008bd2955068ff928a034ec
2023-05-22 16:42:51 -07:00
Treehugger Robot
eea182f78b Merge "powerhint: remove CAMERA_THERMAL_CPU_THROTTLE" into udc-d1-dev 2023-05-20 06:39:40 +00:00
Ziyi Cui
cd0aaa5372 powerhint: remove CAMERA_THERMAL_CPU_THROTTLE
Test: Build and boot
Bug: 283363439
Change-Id: I2cdfd4d97b51df911f7e2e4ed70a362f9aaf4dce
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-05-19 22:50:13 +00:00
Luke Chang
f1c66b01d4 Merge "powerhint: shorter cpd cl2 target_residency" into udc-d1-dev 2023-05-18 12:57:27 +00:00
TreeHugger Robot
20e24aaf02 Merge "powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint" into udc-d1-dev 2023-05-17 23:58:59 +00:00
Jia-yi Chen
fcb6669e47 powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint
1) Raise the CPU max frequencies
2) Use PMU LIMIT for little cores
3) Set cpuset to 0-7

Bug: 280308326
Test: Boot & check logs
Change-Id: I3435309ea6920b34c8e68b98979ffcc88559ddf3
2023-05-17 15:58:20 -07:00
Sayanna Chandula
a010254a29 thermal: update powerhints for thermal trips
Bug: 241784772
Test: Build and boot on device

Change-Id: Ibf3ad81c4df6a30948bb53359b2b8a4001e5d214
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-05-16 19:07:34 -07:00
lukechang
6f228f059d powerhint: shorter cpd cl2 target_residency
Shorter cpd cl2 target residency to 10ms when receiving DISPLAY_INACTIVE hint.

Test: manual - check cpd cl2 target_residency file node when screen on and off
Bug: 277390134

Change-Id: I15a7b24583db4423ccdbae05d9b857687bae7b78
Signed-off-by: lukechang <lukechang@google.com>
2023-05-16 09:42:33 +00:00
Ali K. Zadeh
3bf77ed72c Merge "Disable CDPreferHighCap and set CDCpuSet to 0-8 for 60fps" into udc-d1-dev 2023-05-12 20:36:30 +00:00
Treehugger Robot
9c30f5412c Merge "powerhint: Update expensive rendering hint" into udc-d1-dev 2023-05-12 18:49:21 +00:00
Ali K. Zadeh
35f32e57de Disable CDPreferHighCap and set CDCpuSet to 0-8 for 60fps
Bug: 274005880
Test: ODPM/Framedrops
Change-Id: Ib417c771b04146ec641e19088b205fb76a7380ea
2023-05-12 17:37:38 +00:00
Ali K. Zadeh
5561c95dc6 Merge "Remove BCI and DSU max frequencies from all camera streaming use-cases" into udc-d1-dev 2023-05-12 17:18:04 +00:00
Vincent Palomares
f64724ae94 Merge "shusky: powerhint: Update LITTLE CPU freq target" into udc-d1-dev 2023-05-11 19:18:55 +00:00
Ali K. Zadeh
e4e9387c01 Remove BCI and DSU max frequencies from all camera streaming use-cases
Bug: 280459252
Test: ODPM/Framedrops
Change-Id: I7edfa856af5623e545d5883bf3647ae0fa14d7fb
2023-05-11 17:08:51 +00:00
paulsu
d429c9d008 The dvfs headroom was split into its own knob. Update to use it.
util_threshold only controls migration margin now. dvfs headroom has its
own new knob.

Test: Local run
Bug: 281792287
Change-Id: I828f943aab936b532f658dc6bf3acfc903b7fc02
Signed-off-by: paulsu <paulsu@google.com>
2023-05-11 08:00:23 +00:00
Lisa Liu
c00bd9183d powerhint: boost DSU and BCI when launching
Bug: 269809407
Bug: 258100337
Test: Build and abtd run result
Change-Id: I8f5ce6866ec13080cfc9fd1e5cfddd8d95dc4e32
2023-05-10 06:53:23 +00:00
Vincent Palomares
4051835886 shusky: powerhint: Update LITTLE CPU freq target
Bug: 281138320
Test: build, camera
Change-Id: I85983896cccaf9a31903c4ceeb905407e1d63d3b
Signed-off-by: Vincent Palomares <paillon@google.com>
2023-05-09 19:54:31 -07:00
Devika Krishnadas
0d10c3d43f powerhint: Update expensive rendering hint
Bug: 246347593
Test: b/246347593 - comment 10, 11, 12, 13

Change-Id: Ia8ab59f1aafc88bc39192f15b8fe9639d9a5cd34
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-05-04 00:04:38 +00: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