Kris Chen
34875da5c3
Boost top-app during FP storage access
...
Bug: 290709897
Test: enroll fingerprint
Change-Id: I14e81be2c826046fcd498c2a5af3caf217ed1aa9
2023-08-21 10:47:23 +08:00
Matt Buckley
ee38ca5673
Add POWER_EFFICIENCY uclamp max to adpf config
...
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.
Bug: 277285195
Test: manual
Change-Id: I408f207d41271fdf9ae7892ca89efa3bc02c2625
2023-08-19 05:18:15 +00:00
Jia-yi Chen
f70af577b4
Update CAMERA_SHOT hint
...
1) Set PMU_POLL to 0
2) Remove direct CPU freq settings but use UClamp
Bug: 295186805
Test: Run 3P snapshots and check logcat & perfetto trace
Change-Id: Ic8e8f6ab6439b378638a90e9d4238cd22db05e44
2023-08-10 11:30:10 -07:00
Ali K. Zadeh
5156c03b75
Set PMU_POLL to 0 instead of setting SPC threshold to 100 for CAMERA_ZOOMING_BOOST
...
Bug: 291979193
Test: Device boots okay with new powerhint file
Change-Id: I466873b118d12e1d72a237df72fa5d278ee2405d
(cherry picked from commit 0a99fb90e9
)
2023-08-07 23:04:16 +00:00
Ali K. Zadeh
0a99fb90e9
Set PMU_POLL to 0 instead of setting SPC threshold to 100 for CAMERA_ZOOMING_BOOST
...
Bug: 291979193
Test: Device boots okay with new powerhint file
Change-Id: I466873b118d12e1d72a237df72fa5d278ee2405d
2023-08-07 21:00:07 +00:00
Yunju Lee
daa71f9265
Add write-only option to GPU power hint configuration
...
Bug: 291237127
Change-Id: I175440aa25170616c7caeda4aab71de966c7c69d
2023-07-27 20:21:49 +00:00
Ali K. Zadeh
137a4098bd
Relax PMU capping during CAMERA_ZOOMING_BOOST
...
ag/24163297 defines a new power boost profile which gets applied during
camera transitioning its zoom ratio. This CL defines the parameters for
this boost profile to enhance the camera performance by relaxing the PMU
capping, which is achieved by setting the SPC thresholds to 100.
Bug: 291979193
Test: perfetto trace (https://ui.perfetto.dev/#!/?s=ee36305fa386b5e1825fe9982b984190b1c804cd3c2d0b0fe9c85b9df94659d7 )
Change-Id: Id17721719151d216fa1bd3abd7bad613a0ee1c7b
2023-07-26 16:33:18 +00:00
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
David Chao
a782655d54
thermal: update powerhints for thermal trips
...
Add switch on/off to remove dependency on powerhint.json
when updating thermal thresholds
Bug: 283038681
Test: Build and boot on device
Change-Id: Ibf318176ba5e2c51b2989080c860560f1f1351a0
2023-07-21 06:56:03 +00:00
Treehugger Robot
7942a16adf
Merge "CAMERA_CAPTURE_CPU_THROTTLE powerhint: Adjust CPU frequency caps, use cam1 EM" into udc-d1-dev
2023-07-14 23:41:42 +00:00
Ali K. Zadeh
ea5ddc4e5b
CAMERA_CAPTURE_CPU_THROTTLE powerhint: Adjust CPU frequency caps, use cam1 EM
...
Bug: 288988849
Test: ODPM, capture latency, framedrops (https://docs.google.com/spreadsheets/d/1D8_gsLGdNEGOxoN6HA59EBORqTv7d9oM3LAQPe11BNE/edit?resourcekey=0-4m7SdJwoBlFm9FnmHAkXOA#gid=1867870464 , https://buganizer.corp.google.com/issues/288988849#comment27 )
Change-Id: If09afa009e172fa48cfa22de5b28395f2d0137f7
2023-07-14 19:47:04 +00:00
Taeju Park
d2d2c3628c
powerhint: Add default PMU limit frequency for the reset
...
Bug: 290295565
Change-Id: Ied704dfe1c0beb756f8e26eea0d82820bc0e9e2e
Signed-off-by: Taeju Park <taeju@google.com>
2023-07-14 01:26:03 +00:00
Treehugger Robot
5be931bae4
Merge "Add GPU power hint for Zuma" into udc-d1-dev
2023-07-13 17:47:48 +00:00
Ali K. Zadeh
59bddaa0a2
Enable prefer_idle during CAMERA_LAUNCH
...
Test: Launch latency improves for front camera (https://b.corp.google.com/issues/290225016#comment4 )
Bug: 290225016
Change-Id: Ica1a0af3ecdff7d158cb62644571316283998f31
2023-07-11 21:47:07 +00:00
Yunju Lee
a314f25a44
Add GPU power hint for Zuma
...
Bug: 228076319
Bug: 278493002
Test: Perfetto trace inspection
Change-Id: I24c7637221640bad71235488c2de07abf07f3b75
2023-07-07 21:40:10 +00:00
Kame(TeYuan) Wang
5fa8ce0a35
Merge "thermal: switch thermal policy by game mode" into udc-d1-dev
2023-06-28 07:20:46 +00:00
Kame(TeYuan) Wang
c7fa4c6588
Merge "powerhint: remove the duplicate thermal powerhint settings" into udc-d1-dev
2023-06-28 07:20:00 +00:00
Rick Yiu
8f7d02cd08
Disable prefer idle for TA and FG when screen-off
...
Bug: 236868627
Test: work as expected
Change-Id: I1f45577a99b47136cb6620c846c3417a9696451e
2023-06-27 06:26:02 +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
Ali K. Zadeh
6419d5e67d
Remove CPU hard-caps and enable PMU for 30fps
...
Bug: 285043350
Test: ODPM/Framedrops (https://docs.google.com/spreadsheets/d/1fch2nTNXzsjrlsTwgj5asMULLSzW_iaKQRGv9sTZJvw/edit?usp=sharing&resourcekey=0-TYGsgX17mWRZdPYL3tBnjA )
Change-Id: Icf6af9d289f0facdbeb92910b8f963384dda6149
2023-06-22 21:50:58 +00:00
TeYuan Wang
09427323e1
powerhint: remove the duplicate thermal powerhint settings
...
For the current design, thermalHAL will only enable one hint base on the current severity and disable the previous one. As a result, the power hint of higher severity should maintain the actions from lower severity which cause the larger config size and maintenance effort.
The new thermalHAL design will keep the lower severity's hint enabled, so we could remove the duplicate policies from higher level.
Bug: 241737737
Test: verified shiba with emul_temp
Change-Id: I352cb3dc52440373a6eebdebe77fb8c5cc24890d
2023-06-22 18:48:07 +00:00
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