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
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
This reverts commit 34a3e400b9.
Reason for revert: to avoid potential power regression
Bug: 326507991
Change-Id: Id4e9de4b8b86702d796e553fa663d220c2e8a42a
Test: build pass
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.
Bug: 326507991
Test: build pass
Change-Id: I2b4f4f016cc41d963d15b8f37370d86f2046ded0
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
If auto rotation is enabled, it will trigger LAUNCH hint while
camera is running if device rotates, which could limit camera_hal
tasks to little cores. So, disable it first until there is a new
hint for the rotation event.
Bug: 297273578
Test: build pass
Change-Id: If472e2410e40f09372250e20dd7e23d315c5a576
also clean up useless TAUClampBoost to reduce overhead
Test: Build
Bug: 294612493
Change-Id: I6a6082b860c5650bba87d48025da0e1c60f8dae8
Signed-off-by: Wei Wang <wvw@google.com>
Test: Load powerhint file on device and verify tuned parameters are
default. Start Subway Surfers game and verify tuned parameters are
expected tuned values. Switch away from game, and quit the game, and
verify tuned parameters return to default.
Bug: 294612493
Change-Id: I2c518b27fbe7191dd1033dd3f3d8044330ccdf8c
Test: Load powerhint file on device and verify tuned parameters are
default. Start Subway Surfers game and verify tuned parameters are
expected tuned values. Switch away from game, and quit the game, and
verify tuned parameters return to default.
Bug: 294612493
Change-Id: Ibc0ba8fb1a9f2714d9509cecaa30c227aa4f8b69
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
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
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