Current CAM uclamp min is beyond MID clusters capacity when
CAM2 energy model is used. This causes most of camera HAL threads
scheduled on big cluster only with CAM2 EM profile.
Lowering CAM uclamp min so it is within MID clusters capacity for
both energe model
Flag: EXEMPT tuning changes
Test: check camera trace with proper uclamp value
Bug: 350629738
Change-Id: I40ce59d0a0d99ea6ba016a24245f44713485bc52
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I8b3918ee11a34315155561bfd0b0a7e9a8f9f32d
Also reset the mask for launch and other camera streaming modes that
do not use it.
Bug: 248621289
Test: build pass
Change-Id: Id2f8f203359d4551d17f9b6ba02ee1c8e805fa3c
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: 328210236
Test: build pass
Change-Id: I9ccb3035a480e88960951222c45d0ca8352082d9
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.
Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
check adpf sessions' traces.
Change-Id: I9c7587b6b1507fae685561fcf008c5ab9ae73532
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.
HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
Check the device adpf sessions' traces.
Change-Id: I8565fa1352769e6f879ea5fc12412d00f254da3b
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled. Also turn auto prefer
off when other group enables prefer_idle explictly.
Bug: 236868627
Test: build pass
Change-Id: Id0dc5bda64686826f72aad4549b8edcb1ceb4502
Enables a signal indicating that the app has janked as
detected by the ADPF API.
Bug: 290625326
Test: perf / power tests
Change-Id: Iaf0f131cab90e4225642af243303473f56a34320
Set default value to 0xff to exclude big core for all priorities, but
restore high and mid to 0x1ff when app launch.
Bug: 248621289
Test: value set correctly
Change-Id: If9696e02f2a54f07d5acb974ff0301ea936c53e0
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: I384f2e04f69d570e10c8e52f2818c1ecde6be1a0
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: I384f2e04f69d570e10c8e52f2818c1ecde6be1a0
Perf and Power tuning by
1. DVFS headroom from 1280 to 1100 for power saving
2. ADPF Pu from 1.0 to 0.6
Bug: 326322782
Change-Id: Icdbb6dda2472754f5e7fda9803ca885917b1120c
Increase the minimum operating frequency of the cam group to mitigate mutex contention and thereby reduce frame drops during 240fps slow-motion recording.
This solution synchronize from ag/25825179.
Test: GCA, CTS
Bug: 315422971
Change-Id: I8ab72ef5980edf881c034789d947dc578659cbe2
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in powerhint json file to match the change.
Bug: 289151587
Test: Uibench AB test
Change-Id: I5bec729bf9a896819e89c637fc351daa59a0eea9
And disable uclamp_max_filter so that we don't accidentally impact
LAUNCH time.
Bug: 301807825
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I913b50fb6e2896de96873e550e6299b7294f6bec
Add DISPLAY_CHANGE hint for display layout change due to rotation or
switching between inner and outer panels.
Bug: 298150450
Test: build pass
Change-Id: I853b5feb6cb963c9ae39959e84507c8c40fe7fbd
MID cluster power down tuning for SB3.
ADPF PID tuning for P23 60/90Hz.
Bug: 298306983
Test: PtsUiBench
Change-Id: I9837d165d611fab4b94ad97718babdf5fe1c23f4
Bug: 297367915
Test: Confirm user_vote_bypass can be applied during camera launch when SKIN severity is lower than CRITICAL
Change-Id: I1134f577bd4101572d8cbe291322a1a4b035cfde