util_threshold only controls migration margin now. dvfs headroom has its
own new knob.
Bug: 261705301
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Id026048db7c9ec21fd843783b918201230774d2a
Use LOW_POWER power hint to detect and lower the control temp
for junction control loops
Bug: 266011718
Test: Build and boot on device. Check thermal control temperatures
during battery save
Change-Id: Ic2f643a5c48aefdd7ea137674513cd57c82ab23d
Signed-off-by: Peter (YM) <peterym@google.com>
Upstream has fixed relationship between uclamp_min and margin which
means uclamp_min value between 80-100% of capacity of the CPU is a valid
value and will not cause upmigration.
To keep the current hints in powerhint.json the same, we must update
uclamp_min to be capacity_orig_of(medium_cpu) + 1.
This change is dependent on uclamp vs fits margin in GKI, vendor
modules. And an improvement in sched_pixel to ignore the 25% boost if
the only reason to request the frequency is uclamp_min.
To cater for the later - we multiply each uclamp_min value with 1.25
- except ones that look intentionally set around capacity boundaries.
Bug: 261695590
Test: PtsUiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I60f4d7cd2cecf7ff4d73fa0cee1a09522b1d9bfd
Take ADPF_FIRST_FRAME hint to boost the GPU freq to 302000
Bug: 243025173
Test: Manual
Change-Id: Iac5c503e6fd8f19f0252b65f9ef10ed82b3ed378
Merged-In: Iac5c503e6fd8f19f0252b65f9ef10ed82b3ed378
the file node was removed so also remove these
dummy setting
Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
Fine-tune the util threshold to "1100 1078 1024"
Bug: 250738213
Test: Build pass, GCA, 60fps power and performance test
Change-Id: I09ab3996e09cadf1d8a84a442b63e075fb1ebdc3
Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.
Bug: 240889279
Test: build pass
Change-Id: Ic77ed789b80e51bef9de6ea9de366a0a240299ca
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.
Bug: 255927500
Test: build and launch/exit camera
Change-Id: I823eead362aa32b5544f9cf51f1132ecfbf23c78
This CL sets the MIF min clock frequency to 1539MHz, which based on
initial ODPM and MIPS measurements shows benefit both in terms of power
consumption and cycles-per-instructions (CPI), reducing the gap with R4
device.
Sync from L10 ag/19320914.
Bug: 250738213
Test: Build pass
Change-Id: If7be3253d5125734e3ce676488b5f2573b4a9f42
INTERACTION and LAUNCH_120FPS are removed but some actions still use
them.
Bug: 246738037
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t
com.google.android.perf.pts.PowerHintJsonVerifyTest
Change-Id: I089e3e151973e1828e80e0da13f9816aaa9c2871
With systemui now changed its cpuset in early stage, we no longer
need RestrictedCpuset hint as workaround.
Bug: 242775562
Test: build pass
Change-Id: Ic27752a19e58d955418953937f787328d477ba6d
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.
Bug: b/241152899
Bug: b/195990840
Test: manual
Change-Id: If485f2bb12c5e44e58f294807b5085016b148192
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
Update target load due to Pro mid CPU
this hint impact the high streaming use case like 60fps / 120fps and
240fps.
Bug: 238166810
Test: build pass and camera preview
Change-Id: Icd593f8b9b87345947e65271f4cbf03cc47bdcae