Port from ag/28607900
This CL defines CAMERA_MULTICAM_BOOST (with the same settings as the
existing CAMERA_ZOOMING_BOOST). Having both definitions is necessary to
be able to transition from zooming boost to multicam boost. Once the
multicam boost flag is fully rolled out, we can remove the
CAMERA_ZOOMING_BOOST.
Bug: 347829135
Test: adb logcat
Flag: EXEMPT resource file only change
Change-Id: I0a240e1b6c82b6b0e4577005c16b589f1865c154
note: version 0731 to support handset mode.
Test: build pass
Bug: 343339070
Flag: EXEMPT update library only
Change-Id: If27b9d88ee1d788e41712e8e033b2bc08b30078a
sync with ag/28274083.
Currently, we enable PA_KILL always on camera launch. This CL puts this
feature behind a power boost profile which can only be triggered from
camera hal and is controlled by a mendel flag.
Bug: 356005553
Test: 1. adb logcat
2. gca_smoke.py test pass
Flag: EXEMPT resource only update
Change-Id: I5320d90072b92ebfb791ad50905667d764f7e3e8
This is a clone of the default files, only GAME scenarios
has some order changed to prioritize 48k gaming without source.
Bug: 331490291
Test: Check file location
Flag: NONE system property change only
Change-Id: I2855920c813240312784423ed89c5fc95c8cc20f
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: If4e4bc917252244c7460908f40d328a2e23182e1
- Validate for display panel availability only in userdebug builds.
- Add check to fall back to wingboard config for charging mode as well.
- Move fallback to backup config for proto and wingboard to init rc
file.
Bug: 338295174
Flag: EXEMPT NDK
Test: Local build and verify init_thermal_config and property
Change-Id: I4b2db92df1d74be4038e256ab6e25ee616c5feb6
Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.
Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.
Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61cf08366eb4e916beb1ad910754c8bc6c18bf14)
Merged-In: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
Change-Id: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da
It's disabled by default.
Ensure camera and game mode explicitly disable it too as it is only
required when auto margins are enabled for now.
Ensure it is disabled when screen is off too as We don't want io
activities to cause wake up on bigger cores while screen is off.
Bug: 340534339
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dad48beaeb9f9fce8acb67c06bfd022e86ce0e0d)
Merged-In: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
Change-Id: Ie9d20fe5ad6b423e8c26a36b7f01592040292ead
Everything should be disabled by default.
Make sure camera and game explicitly disable them by default too.
Ensure the feature is disable when screen is idle.
Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb4df08c9ea617625d25cf12bc60c41c173d996b)
Merged-In: Ibd08cec303010e87057463f5aff737a5105e04b6
Change-Id: Ibd08cec303010e87057463f5aff737a5105e04b6
So that we can change the default values without impacting it.
Bug: 315748906powerhint: Explicitly set DownRateLimitUs for camera
So that we can change the default values without impacting it.
Bug: 315748906
Test: build
Flag: NONE powerhint change does not support flags
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9084165d0d0f699f7cc3968dded4f71d4ec20a92)
Merged-In: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
Change-Id: Ic14d51f0b5b512f5557d904d682e9f934bbab87f
UClamp.min of all threads in top app is set to mid core max capacity during photo capture, which will dispatch them to big core.
Critical threads of photo capture will be interrupted due to their lower priority, while other cores idle.
To deal with this situation,
prefer_idle mask to big/mid cores can reduce the idle in mid cores.
UClamp.min on nice can set UClamp.min of photo capture critical threads to mid core max capacity, while others as zero,
this can make critical threads run on big core without frequently interrupted.
By applying this, photo capture latency can be reduced with slight change of power consumption.
Refer to ag/28118299
Bug: 345601796
Test: Build pass, Boot to home
Flag: NONE powerhint change does not support flags
Change-Id: I7d6d0c5c23aaf7888a64ecbafde2275129fd22a1