- Add a event node for SYSTEM_UI;
- Add a separate SYSTEM_UI profile.
Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ie7df5f87b163dd002b74fcd69332f0a8e7a26ef4
And reduce DownRateLimitUs to 500us as the system should be more
reactive now when something needs to rampup quickly.
Enable pertask iowait boost too as with auto dvfs headroom enabled all
tasks will start form 0 util_avg and this could impact iowait tasks
without this being enabled to help them migrate up to bigger cores.
Camera use cases should still use their own default DownRateLimitUs and
disable this feature to keep their dvfs_headroom tuning intact.
Bug: 392622882
Flag: EXEMPT powerhints are not compatible with flagging
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iaf81e74c9c3b0e4a57b1708981ad878810189b20
This CL adds a powerhint for AA mode to mask storming hint. DISPLAY_IDLE masks DISPLAY_UPDATE_IMMINENT and CPU_LOAD_RESET when Android Auto property is set. When navigation in Android Auto, the two hint with action to boost memlat is costly.
Bug: 380188115
Change-Id: I825a56ac32a0ecdc8b441af9cb64e81b1d04f9a6
Test: Local test with desktop_head_unit_internal
Flag: EXEMPT powerhint change
This change introduces "is APF enabled" system properties, and
uses them as trigger conditions for APF nodes / pre-APF nodes.
By default APF nodes are active, and pre-APF nodes are inactive,
which maintains the situation before this change.
A future experiment will flip "is APF enabled" system properties,
deactivating APF nodes and activating pre-APF nodes. For more
info see go/pixel-perf-apf-experiment.
Bug: 365855872
Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit
procfs value staying "false" and instead preferred_idle_mask_mid
changing to 0x1ff during app launches
Flag: NONE powerhint change does not support flags
Change-Id: Iedf4e9283c2e5f20ae818abfcf475fefe953c9c8
Signed-off-by: Dmitry Skiba <dskiba@google.com>
These streams do not disable TA or FG prefer idle, so restore it.
Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I200c45f1422dc9e7a82620e27e2885c9afe3cfb8
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: I89f58da3836001f6dd5e566eb1520e785ac8f3de
Enable auto prefer fit for high prio tasks when app launch, and tune
uclmap min settings for different task prio.
Bug: 353885521
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I8aa7187b7178626ed8bf0e04fd7a9a46d1247bd3
Also disable prefer idle for TA and FG by default.
Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I36695fdf1531b3aa4d3856abf23819e1f95e20ca
Let sys group tasks will run less in big core by default.
Bug: 328210236
Test: build pass
Flag: NONE powerhint change does not support flags
Change-Id: Ic1092af7b22905595be42756112a2959bfcd0b79
Also reset the mask for launch and other camera streaming modes that
do not use it.
Bug: 248621289
Test: build pass
Flag: NONE powerhint change does not support flags
Change-Id: If69d19b4f8f7003bae4a268f19acf4fab18adb5b
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: Id50149316baf2dd91b664d730e7f7753ffece5a2
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I69d3bafbd982c53c3cabbbd18d264f68179c098f
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: Ia90372cf08ddc31bfa527553b81e78084ac73f48
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: Ia5b1090d54cd5b8c9490813a8ba74532a50f2b8a
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: I539c3e65720e3496859bce9a752d13432b62a59a
Enables a signal indicating that the app has janked as
detected by the ADPF API.
Test: perf / power tests
Bug: 290625326
Change-Id: Ifb1a4b8ece24fdf1685ce40b0902a8e1486886d9
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: I04f68a608da8bd4e06fd28d1f212c14bfea6dfa2
This reverts commit 118520982f.
Reason for revert: to avoid potential power regression
Bug: 326507991
Change-Id: I35c60d7f10320f419c1886ab7c0ab0f4733a04a9
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: Id9cec1f2622619d4927c037db6790e1c332689e7
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: I4f3b800b6fda1baabe7e924b8191ebab29c08fd6
Reduce the uclamp_min decline rate by setting Pu from 1 to 0.6
Test: scroll_gm_list_120hz, scroll_youtube_120hz, uibench
Bug: 319786989
Change-Id: I3e4726aff878b788439dbbccfb578bbc3df4d100
Increase the minimum operating frequency of the cam group to mitigate mutex contention and thereby reduce frame drops during 240fps slow-motion recording.
Test: GCA, CTS
Bug: 315422971
Change-Id: Ibc24cc5fb96eb4b83de932d2805763799e185dc8
Changed to 50 percent for GAME
Bug: 299843257
Test: run genshin
Change-Id: I94ded2429bd8eef0023565b67f65aa8f39095848
(cherry picked from commit edf0e42513)
current dvfs headroom is 1280, smaller headroom may be benefcial
to pwoer
Bug: 295991776
Change-Id: I60cfa63dd488155e54c057ba8b5f2ba413f6467d
Signed-off-by: Chungkai Mei <chungkai@google.com>