@@ -149,6 +149,18 @@ config CPU_FREQ_DEFAULT_GOV_INTELLIDEMAND
149
149
help
150
150
Intelligent OnDemand Govneror based on Samsung Patched OnDemand
151
151
152
+ config CPU_FREQ_DEFAULT_GOV_LAGFREE
153
+ bool "lagfree"
154
+ select CPU_FREQ_GOV_LAGFREE
155
+ select CPU_FREQ_GOV_PERFORMANCE
156
+ help
157
+ Use the CPUFreq governor 'lagfree' as default. This allows
158
+ you to get a full dynamic frequency capable system by simply
159
+ loading your cpufreq low-level hardware driver.
160
+ Be aware that not all cpufreq drivers support the lagfree
161
+ governor. If unsure have a look at the help section of the
162
+ driver. Fallback governor will be the performance governor.
163
+
152
164
endchoice
153
165
154
166
config CPU_FREQ_GOV_PERFORMANCE
@@ -271,4 +283,36 @@ config CPU_FREQ_GOV_INTELLIDEMAND
271
283
help
272
284
'intellidemand' - an intelligent ondemand governor
273
285
286
+ config CPU_FREQ_GOV_LAGFREE
287
+ tristate "'lagfree' cpufreq governor"
288
+ depends on CPU_FREQ
289
+ help
290
+ 'lagfree' - this driver is rather similar to the 'ondemand'
291
+ governor both in its source code and its purpose, the difference is
292
+ its optimisation for better suitability in a battery powered
293
+ environment. The frequency is gracefully increased and decreased
294
+ rather than jumping to 100% when speed is required.
295
+
296
+ To compile this driver as a module, choose M here: the
297
+ module will be called cpufreq_lagfree.
298
+
299
+ For details, take a look at linux/Documentation/cpu-freq.
300
+
301
+ If in doubt, say N.
302
+
303
+ config CPU_FREQ_MIN_TICKS
304
+ int "Ticks between governor polling interval."
305
+ depends on CPU_FREQ_GOV_LAGFREE
306
+ default 10
307
+ help
308
+ Minimum number of ticks between polling interval for governors.
309
+
310
+ config CPU_FREQ_SAMPLING_LATENCY_MULTIPLIER
311
+ int "Sampling rate multiplier for governors."
312
+ depends on CPU_FREQ_GOV_LAGFREE
313
+ default 1000
314
+ help
315
+ Sampling latency rate multiplied by the cpu switch latency.
316
+ Affects governor polling.
317
+
274
318
endif # CPU_FREQ
0 commit comments