Test: Build and power measurement
Bug: 336872050
Flag: NONE powerhint change does not support flags
Change-Id: Ibb49621729f966a83bcbb77d611e0c0e78545805
Refer to ag/28174403 and ag/28179628
Bug: 350111391
Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: Ie5fc7c0e7c10b070bebbdca9af212fb0c1b310d7
Reducing CPUDVFSHeadroom can help save power in 60fps and 240fps
use-cases once RT threads are enabled. Even without the RT patch
(ag/27725456), we can see savings without any impact to framedrop rate.
sync from ag/27765730 and ag/27778356
Bug: 342502377
Test: Build pass, Boot to home
Flag: NONE sync solution
Change-Id: Ib3ea575c8507c8e3ab331910176cb2245c1708fb
pa/2830448 removes the core ignorance logic in PMU and causes the
behavior of PMU to change. With the new PMU logic, we need to re-tune
all the SPC thresholds for camera use-cases. This CL adjusts SPC
thresholds accordingly, so that we do not have power regression once the
PMU change in the kernel is merged.
Refer to ag/27702721 and ag/27726436
Bug: 342502377
Test: Build pass, Boot to home
Change-Id: Ic8fd4eb4192774ba42e2cfbe5b567136c15a6357
Faceauth is pinning to the mid-core for this device. Adjust the power hint to boost the appropriate cluster.
Bug: 329893113
Change-Id: I7b0f228a1ecac523fee5b5dd607f27f99a608411
sync from ag/27280353
Set big core to group_cfs_skip_mask for sys group when screen is off,
so that sys group tasks will run less in big core.
Bug: 342968374
Test: boot to home
Change-Id: I4456641e8e99c83573887c4a3b56ba484b490773
This CL enables PMU feature during photo capture. With the new settings, we can achieve up to 120ms saving in capture latency, while paying a penalty of 60mW. However, even with the added power, we are still below the F10 numbers (go/f10-camera-power-gtw).
Refer to ag/27238472 and ag/27255676
Bug: 342502377
Test: GCA photo capture
Change-Id: Iefe755e64e2e5bd6858f13adb4be7533c6b3e611
With MulticamRoutingNode on RT, the performance is no longer impacted by
having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to
610MHz, saving overall up to 50mW in CPU power.
Refer to ag/27091363 and ag/27105186
Bug: 342502377
Test: Build pass
Change-Id: I49c8a5aad237c76582388545ff83d44d440d84a0
This CL increase SPC threshold for little core to 55, and for mid core
to 32. Tests show that in a loaded scenario, framedrop rate can reduce
to almost zero, while not impacting the power in the unloaded (baseline)
scenario.
Refer to ag/27032799 and ag/27078536
Bug: 342502377
Test: Build pass
Change-Id: I9c50b58483cb5262c3550cb45907cbe522eb4e5a
SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.
Refer to ag/26943567 and ag/27018139
Bug: 342502377
Test: Build pass
Change-Id: I593b9ca4f85e844ebacdb8606147d51c9d8926da
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
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
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
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
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
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
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