Commit graph

17 commits

Author SHA1 Message Date
Pointer Kung
7b1c1b2326 Powerhint: Enable big core reduction feature and CDPreferIdle, limit CPUset to 0-6, optimize MIF clock frequency
CAMERA_STREAMING_HIGH:
CPUSkipMask to 0x80
MemFreq to 1539000
Enable CDPreferIdle
CDCpuset to 0-6

CAMERA_STREAMING_STANDARD:
CPUSkipMask to 0x80
TAPreferIdle to 0
Enable CDPreferIdle
CDCpuset to 0-6

Refer to ag/26718992, ag/26787527 and ag/26710529

Bug: 342502377
Test: Build pass
Change-Id: Id1ba596588bf51c3847c0c5a9f9d72adc8888f19
2024-05-24 03:22:23 +00:00
Taeju Park
ea642c51c7 powerhint: add PMU_FORCE_LIMIT control knob am: 6d0a2a2851
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27240564

Change-Id: I22ce6f7431a6243c1309e56ac66d7d5ee6ed27f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 19:21:08 +00:00
Taeju Park
6d0a2a2851 powerhint: add PMU_FORCE_LIMIT control knob
Bug: 335331630
Change-Id: I779d912c34d44b0afdc5e0ab9107dd6acfc268eb
Signed-off-by: Taeju Park <taeju@google.com>
2024-05-07 00:52:18 +00:00
Matt Buckley
05ea3376fc Add POWER_EFFICIENCY uclamp max to adpf config am: a91c6786f9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27163301

Change-Id: I2d469158db02bd00d95f7339760ebc71cd19859c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 21:59:20 +00:00
Matt Buckley
a91c6786f9 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: I858da8b21739d946f21c9cdda2277f34723836f3
2024-04-30 18:29:24 +00:00
Taeju Park
b5a82d7a8c powerhint: remove lcpi paramter for PMU limit am: 3b9cfb2867
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27120490

Change-Id: I5eaa4391de3b532860e6845b78dbf1cfe328915a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-26 21:27:43 +00:00
Taeju Park
3b9cfb2867 powerhint: remove lcpi paramter for PMU limit
PMU-based soft freq limit no longer use lcpi paramter

Bug: 295054083
Change-Id: I64d78680b42c8d757c023856af4ca31c13c120e9
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:50:24 +00:00
Jimmy Shiu
1b726d318f powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: ba7ecf114f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/26900074

Change-Id: I63e273d82a784e4edc83b7e1511e28d4904b0a62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:22 +00:00
Jimmy Shiu
ba7ecf114f powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I01520f076b525af90317c43814084736a9cd4169
2024-04-10 11:45:12 +00:00
Jimmy Shiu
fbcd837321 powerhint: set uclampmin_init value for applying CPU Load boost am: f650b70797
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/26808828

Change-Id: I0b4b1a3045c121b0071344f0cc4a418534a16d81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:42 +00:00
Jimmy Shiu
f650b70797 powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Change-Id: I833f25cec9776b5523f58b49b3cf88172a8ea399
Test: Manual Test
2024-04-03 01:04:41 +00:00
Paulsu Su
2911f28144 tegu: powerhint: align migration margin, dvfs headroom and other updates
powerhint: port changes from p23

- Add DISPLAY_CHANGE powerhint
- Add more boosts to LAUNCH_EXTEND
- Remove unused idle target residency settings

powerhint: port migration margin settings from p23

Bug: 316035859
powerhint: port dvfs_headroom settings from p23

Bug: 322000346

powerhint: revert dvfs_headroom settings for camera

Bug: 329905546

Change set preferred idle mask to top-app

Set default value to 0x7f to exclude big core for all priorities, but
restore high and mid to 0xff when app launch.
Bug: 248621289

Test: Boot to home
Bug: 330085013
Change-Id: Iab5c9534c0f59bc2cf6dff6e90b0b97fcfa8ebc1
2024-03-20 01:57:33 +00:00
Sam Paradis
610457c23f Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I57a0d63d1846619e32cb6c9b8ff924aa6722a964
2024-03-13 17:12:19 +00:00
Sam Paradis
1d46192ab5 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I57a0d63d1846619e32cb6c9b8ff924aa6722a964
2024-03-09 01:56:34 +00:00
paulsu
4dfb58cbe7 Sync powerhint to latest project
powerhint: set cpd target residency to 10ms
Correct the powerhint and thermal config
thermal: optimize thermal policy for camera mode
powerhint: port powerhints from zuma and update with latest hardware

Bug: 318455627
Test: boot to home
Change-Id: I3da635fb9015a5f35a4238e0e38da385570c11c8
2024-01-03 06:50:17 +00:00
guibing
43472a8cd7 tegu: powerhint: update vendor_sched procfs paths
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in powerhint json file to match the change.

Bug: 289151587
Test: Manual
Change-Id: I347d736284b61a272e275f5145d89499873545bd
2023-11-14 20:49:44 +00:00
Wilson Sung
a5146d127e Initialize Tegu
Copy tegu from caimito c3019ae

Bug: 298309659
Change-Id: I7d168ff0c60b7c3696239c12534ea3cfac239c1a
2023-09-15 09:48:00 +00:00