Commit graph

19 commits

Author SHA1 Message Date
Treehugger Robot
2c7dc29eac Merge "Set initial value for foreground_window group" into main 2024-09-18 06:46:38 +00:00
Rick Yiu
13784c0062 Set initial value for foreground_window group
For multi-window foreground app group.

Bug: 200769420
Test: build pass
Flag: NONE vendor init file does not support flag
Change-Id: Ia20ec09e7b4eade86e013b102f81400898c0c54c
2024-09-04 03:16:35 +00:00
Rick Yiu
53452df2c5 Restore preferred_idle_mask to the default setting
The preferred_idle_mask is changed during boot time, but it does not
restore to the default setitng as in powerhint, so some node may keep
the wrong value when framework restarts.

Bug: 248621289
Test: build pass
Flag: NONE init rc file change does not support flags
Change-Id: Ib11681b9a751b1d67d02e9788d888e515d5a3519
2024-08-30 00:06:56 +00:00
Pechetty Sravani (xWF)
35162f9a7c Revert "devices: Move cpufreq perf settings to gs-common"
Revert submission 28323508-common_perf_init

Reason for revert: Potential culprit for b/360746202- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:28323508-common_perf_init

Change-Id: Ice26f3451cec999b3b2b3e2f42c0aa06eff68f75
2024-08-19 05:33:45 +00:00
Will Song
d1b0250fd7 devices: Move cpufreq perf settings to gs-common
Moving common cpufreq configurations to gs-common.

Bug: 335874870
Flag: NONE code refactor
Test: boot and check parameters
Change-Id: Ieff1185a09b310924ea60ebc4f2fbf6047e8592f
Signed-off-by: Will Song <jinpengsong@google.com>
2024-08-17 21:18:09 -07:00
Qais Yousef
23b79507ce init.zumapro.soc.rc: Set disable_util_est knob for each group
Set the new disablt_util_est knob for each group. It should be disabled
by default except for few select groups.

Bug: 336169796
Flag: EXEMPT boot time init script
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I225b203756c656ee8b8d3157796b6fe5454c9e26
2024-08-08 12:28:47 +00:00
Paulsu Su
fe3d0dbbfe init.zumapro.soc.rc: Set little core min freq to 820MHz
Test: boot to home
Bug: 348088963
Flag: NONE init.rc do not support flag

Change-Id: I68f3ceaa17559aa27ef8daac98ef69dece39c361
2024-08-06 07:08:30 +00:00
Dmitry Skiba
e49f89d3a2 Reland "Restrict kcompactd thread to middle/little cores."
This reverts commit e252dc733c.

Reason for revert: 24Q3 has been cut, relanding the original commit 9743ceeba3.

Change-Id: I6bcd2c7277c689201c8bf17ea9d6211b4ee35c8f
Bug: 347272991
2024-07-09 00:36:10 +00:00
Qais Yousef
eb5f51eb7a init.zumapro.soc.rc: Match sched_pixel settings to powerhint's
We now default to 500us down_rate_limit_us. Boot with these defaults
too. powerhint can still modify these to whatever setting required by
the specific hint.

Only difference is that down_rate_limit_scale_pow for little is now the
default 1 instead of 2.

Bug: 339664411
Test: PTE A/B test
Flag: NONE no behavior change
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea40e248c17899d5bb556dad95647db97e30dc4d)
Merged-In: I4f0712faaad87afbb0fc7627c45a61081f91e1e6
Change-Id: I4f0712faaad87afbb0fc7627c45a61081f91e1e6
2024-06-24 23:07:06 +00:00
Qais Yousef
e6afdd099c init.zumapro.soc.rc: Disable rampup for most groups except top-app and adpf
When auto margins are enabled busy tasks will get more appropriate and
coherent rampup time when they get busy. But for most groups, this can
lead to unnecessary power consumption. Disable it except for top-app, sf
and camera group.

For ADPF, a faster rampup is desired as these tasks are usually
sensitive to all sources of latencies. So try to give them more
performance faster.

Bug: 339664411
Test: PTE A/B test
Flag: NONE no behavior change
Signed-off-by: Qais Yousef <qyousef@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:909fadc268c0993e4313ff34a8415daf742c3c15)
Merged-In: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0
Change-Id: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0
2024-06-24 23:06:49 +00:00
Dmitry Skiba
e252dc733c Revert "Restrict kcompactd thread to middle/little cores."
This reverts commit 9743ceeba3.

Reason for revert: avoid 24Q3 (will reland later)

Bug: 340872453
Change-Id: Iee54d1b89a983ea07baa89c0fa34dbbfd0da137d
2024-05-30 18:03:38 +00:00
Dmitry Skiba
9743ceeba3 Restrict kcompactd thread to middle/little cores.
Bug: 340872453
Test: Confirmed kcompactd affinity with taskset -p
Change-Id: I3312b984e98dee40d65d07096e8baf8d797d4897
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-05-28 22:38:19 +00:00
Minchan Kim
3584b14a53 Restrict running pa_kill threads on middle/little
Bug: 298662883
Test: Confirmed pa_kill threads's affinity with taskset -p pid
Change-Id: Iec47f3f44450d5271a1ef3a4ab51f9f37990bb6d
Signed-off-by: Minchan Kim <minchan@google.com>
2024-04-29 23:28:21 +00:00
Taeju Park
6d55164a24 init: tuning PMU paramter
Bug: 310237445
Change-Id: I91e1e9b112bb34960ea9981e03ae6c6826d67e3c
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-26 18:11:04 +00:00
Taeju Park
bc854b4539 init: remove lcpi paramter for PMU limit
PMU-based soft freq limit no longer use lcpi parameter

Bug: 295054083
Change-Id: I0c43c944278852388384c4e8647d3c5dc5b36f94
Signed-off-by: Taeju Park <taeju@google.com>
2024-04-18 21:03:57 +00:00
Achigo Liu
c0a451d4f2 Revert "Move tasks from cpuset root group to system group"
Revert submission 26931570-cpuset_system_group

Reason for revert: b/335346990 suspend/resume ramdump or black screen

Reverted changes: /q/submissionid:26931570-cpuset_system_group

Change-Id: I41b3eaeddba8725defa742c5bd4c5377ac3a33fe
2024-04-17 09:35:58 +00:00
Rick Yiu
6f882f635b Move tasks from cpuset root group to system group
Bug: 328210236
Test: build pass
Change-Id: If6f035d989eb6cfd9864b493d07befee95456868
2024-04-15 14:32:37 +00:00
Kyle Lin
3ae69cc295 rc: adjust memlat parameters
Increased performance and reduced power consumption.
Improved benchmarks as well.


Bug: 308973423
Test: benchmakrs
Change-Id: I35380bf2dbde1953aa09e0e6059bc2876b383169
2024-01-11 15:21:20 +00:00
Zheng Pan
0ae0381c75 Refactor init.rc for zuma/zumapro
init.zuma.soc.rc and init.zumapro.soc.rc only contain SOC related settings.
init.zumapro.board.rc contain board related settings

Bug: 311016628
Test: Build image and flash on KM4
Change-Id: I8f805a58a146009f301b9cb0da9d781c0f2245d9
2023-12-12 19:09:50 -08:00