-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathKconfig.oplus
More file actions
executable file
·333 lines (286 loc) · 8.23 KB
/
Kconfig.oplus
File metadata and controls
executable file
·333 lines (286 loc) · 8.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
config OPLUS_FEATURE_SCHED_ASSIST
tristate "sched assist"
default n
help
turning sched for ui, render and so on to improve UX
config OPLUS_FEATURE_SF_BOOST
tristate "sf boost"
default n
help
When the util of surfaceflinger is greater than 90,
prefer to use big core.
config OPLUS_FEATURE_HEALTHINFO
tristate "config healthinfo"
default n
help
define this config to init healthinfo.
config OPLUS_FEATURE_TASK_CPUSTATS
tristate "task_cpustats"
default n
help
record cpu status
config OPLUS_FEATURE_SCHED_SPREAD
bool "sched spread"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
depends on CGROUP_SCHED
help
This is the uifirst 5.0 feature, which will spread tasks,
kick runnable time from task demand.
config OPLUS_FEATURE_TASK_SCHED
tristate "task_sched"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
help
record task sched info
config OPLUS_FEATURE_TASK_LOAD
tristate "task_load"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
help
record cpu and task load
config OPLUS_SCHED_TUNE
tristate "Boosting for CFS tasks (EXPERIMENTAL)"
default n
help
This option enables support for task classification using a new
cgroup controller, schedtune. Schedtune allows tasks to be given
a boost value and marked as latency-sensitive or not. This option
provides the "schedtune" controller.
This new controller:
1. allows only a two layers hierarchy, where the root defines the
system-wide boost value and its direct childrens define each one a
different "class of tasks" to be boosted with a different value
2. supports up to 16 different task classes, each one which could be
configured with a different boost value
Latency-sensitive tasks are not subject to energy-aware wakeup
task placement. The boost value assigned to tasks is used to
influence task placement and CPU frequency selection (if
utilization-driven frequency selection is in use).
If unsure, say N.
config OPLUS_FEATURE_LOADBALANCE
bool "oplus loadbalance"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
help
This is the uifirst 6.0 feature about loadbalance.
config OPLUS_FEATURE_PIPELINE
bool "oplus pipeline"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
help
hint game critical threads to run on some specific cpus.
config OPLUS_FEATURE_TICK_GRAN
bool "oplus tick granularity"
default n
depends on OPLUS_FEATURE_SCHED_ASSIST
help
adjust the granularity for accounting in ticks
config OPLUS_SCHED_MT6895
bool "mt6895 specific sched feature"
default n
help
the difference between the mainline currently is whether to
skip the CPU where the ux task is located when the RT task
selects a new cpu core.
rt tasks have "affinity with" prev running cpu, this only
takes effect when a new core is selected.
config OPLUS_FEATURE_CPU_JANKINFO
tristate "config oplus_schedinfo"
default n
help
define this config to enable oplus_schedinfo.
config OPLUS_PROCS_LOAD_STATE
tristate "config oplus_procs_load_state"
depends on OPLUS_FEATURE_CPU_JANKINFO
default y
help
oplus power procs load
config OPLUS_FEATURE_FRAME_BOOST
tristate "frame boost"
default n
help
This moduler is used to improve frame missing by aggregating key-threads in one group,
then adjust cpu frequence and placement.
config OPLUS_CPU_AUDIO_PERF
tristate "boost audio task in scheduler"
default n
help
Choose this option to enable scheduler boost for audio task.
config LOCKING_PROTECT
bool "locking protect"
depends on OPLUS_FEATURE_SCHED_ASSIST
default n
help
protect locking protect.
config LOCKING_LAST_ENTITY
bool "locking last entity"
depends on LOCKING_PROTECT
default n
help
schedule locking last entity
config PCPU_RWSEM_LOCKING_PROTECT
bool "percpu-rwsem locking protect"
depends on LOCKING_PROTECT
default n
help
percpu-rwsem protect locking protect.
config OPLUS_FEATURE_BAN_APP_SET_AFFINITY
bool "config ban app set affinity"
default n
help
ban app set affinity
config OPLUS_ADD_CORE_CTRL_MASK
bool "config add core_ctrl mask"
default n
help
consider core_ctrl mask
config OPLUS_FEATURE_EAS_OPT
tristate "eas opt"
default n
help
control oplus_cap, iowait_protect
config OPLUS_FEATURE_VT_CAP
tristate "fake cap"
default n
depends on OPLUS_FEATURE_EAS_OPT
help
fake cap can influence task placement
config OPLUS_CPUFREQ_IOWAIT_PROTECT
tristate "cpufreq_iowait"
default n
depends on OPLUS_FEATURE_EAS_OPT
help
ensure iowait decay not happen too quickly
config OPLUS_SCHED_GROUP_OPT
bool "Oplus sched group optimization"
depends on FAIR_GROUP_SCHED
default FAIR_GROUP_SCHED
config OPLUS_FEATURE_CEILING_FREE
tristate "ceiling free"
default n
help
set cb/omrg max frequency to default when user touch screen.
config OPLUS_FEATURE_SCHED_DDL
bool "sched deadline"
default n
help
normal cfs tasks worst sched latency optimization
config OPLUS_SCHED_HALT_MASK_PRT
tristate "print cpu halt_mask partial_halt_mask and parse_client"
default n
help
cpu halt_mask partial_halt_mask and parse_client
config OPLUS_FEATURE_GEAS
tristate "geas"
default n
help
turning for game
config OPLUS_FEATURE_GEAS_CPU
tristate "geas cpu"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_EMI
tristate "geas cpu"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_FDRIVE
tristate "geas frame drive"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_BWMON
tristate "geas bwmon"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_GPU
tristate "geas gpu"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_MEMLAT
tristate "geas memlat"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_GEAS_NPU
tristate "geas emi"
depends on OPLUS_FEATURE_GEAS
default n
help
turning for game
config OPLUS_FEATURE_SCHED_CFBT
tristate "kernel feature CPU Centric frame boost"
default n
help
enable cpu kernel feature cpu centric frame boost
config OPLUS_FEATURE_GKI_CPUFREQ_BOUNCING
tristate "cpufreq_bouncing"
default n
help
adjust cpu max frequency based on cpu busy duration
config OPLUS_FEATURE_CEILING_FREE
tristate "ceiling free"
default n
help
set cb/omrg max frequency to default when user touch screen.
config OPLUS_FEATURE_CPU_JANKINFO
tristate "config oplus_schedinfo"
default n
help
define this config to enable oplus_schedinfo.
config OPLUS_PROCS_LOAD_STATE
tristate "config oplus_procs_load_state"
depends on OPLUS_FEATURE_CPU_JANKINFO
default y
help
oplus power procs load
config OPLUS_FEATURE_ABNORMAL_FLAG
tristate "task_overload"
default n
help
abnormal thread detection
config OPLUS_FEATURE_OLC
tristate "Add for oplus log core"
default n
help
Add for oplus log core.
config OPLUS_FEATURE_FEEDBACK
tristate "Oplus system feedback"
default n
help
define this config to init oplus system feedback.
config OPLUS_FEATURE_STANDBY_NETLINK_CLOCK
bool "Enable clocks statistics collection for Standby Netlink Channel"
default n
help
This configuration enables the clocks info statistics via a special protocol on the standby netlink channel.
config OPLUS_FEATURE_STANDBY_NETLINK_REGULATOR
bool "Enable regulators statistics collection for Standby Netlink Channel"
default n
help
This configuration enables the regulators info statistics via a special protocol on the standby netlink channel.
config OPLUS_FEATURE_STANDBY_NETLINK_SMP2P
bool "Enable SMP2P statistics collection for Standby Netlink Channel"
default n
help
This configuration enables the smp2p info statistics via a special protocol on the standby netlink channel.
config OPLUS_POWERINFO_STANDBY_DEBUG
bool "powerinfo standby config"
default n
help
Select this config to enable powerinfo standby debug
config OPLUS_FEATURE_SCHED_EXT
tristate "Oplus sched ext"
default n
help
define this config to walt compatible sched ext.