1# CPU settings config for Pixel6
2# 0-3: 1.8GHz
3# 4,5: 2.2GHz
4# 6,7: 2.8GHz
5
6# This should be specified before case.
7# Otherwise offline only case will not work.
8allcores:0-7
9core_max_freq_khz:0-3=1803000
10core_max_freq_khz:4,5=2253000
11core_max_freq_khz:6,7=2802000
12# this is default
13default_governor:performance
14
15case:default
16  # no CPU to turn off
17  online:0-7
18  cpuset:system-background=0-3
19  cpuset:foreground=0-5
20  cpuset:camera-daemon-high-group=0-7
21  cpuset:camera-daemon=0-7
22  cpuset:top-app=0-7
23  cpuset:camera-daemon-mid-group=0-7
24  cpuset:background=0-1
25  cpuset:restricted=0-3
26  cpuset:camera-daemon-mid-high-group=0-7
27  # top one for /dev/cpuset/cpus
28  cpuset:=0-7
29  governor:sched_pixel
30
31case:6high
32  # two weakest cores gone, 6 cores
33  offline:2,3
34  cpuset:foreground=0,1,4,5,6
35
36case:6topbottom
37  # two middle cores gone, 6 cores
38  offline:4,5
39  cpuset:foreground=0,1,2,3,6
40
41case:3half
42  # three core config
43  online:0,4,6
44