mirror of https://github.com/OpenIPC/firmware.git
64 lines
2.1 KiB
Diff
64 lines
2.1 KiB
Diff
diff -drupN a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
|
|
--- a/drivers/cpufreq/Kconfig 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/drivers/cpufreq/Kconfig 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -45,6 +45,15 @@ config CPU_FREQ_STAT_DETAILS
|
|
|
|
If in doubt, say N.
|
|
|
|
+config CPU_FREQ_TIMES
|
|
+ bool "CPU frequency time-in-state statistics"
|
|
+ default y
|
|
+ help
|
|
+ This driver exports CPU time-in-state information through procfs file
|
|
+ system.
|
|
+
|
|
+ If in doubt, say N.
|
|
+
|
|
choice
|
|
prompt "Default CPUFreq governor"
|
|
default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
|
|
@@ -102,6 +111,16 @@ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
|
|
governor. If unsure have a look at the help section of the
|
|
driver. Fallback governor will be the performance governor.
|
|
|
|
+config CPU_FREQ_DEFAULT_GOV_INTERACTIVE
|
|
+ bool "interactive"
|
|
+ select CPU_FREQ_GOV_INTERACTIVE
|
|
+ select CPU_FREQ_GOV_PERFORMANCE
|
|
+ help
|
|
+ Use the CPUFreq governor 'interactive' as default. This allows
|
|
+ you to get a full dynamic cpu frequency capable system by simply
|
|
+ loading your cpufreq low-level hardware driver, using the
|
|
+ 'interactive' governor for latency-sensitive workloads.
|
|
+
|
|
config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
|
|
bool "schedutil"
|
|
depends on SMP
|
|
@@ -191,6 +210,26 @@ config CPU_FREQ_GOV_CONSERVATIVE
|
|
|
|
For details, take a look at linux/Documentation/cpu-freq.
|
|
|
|
+ If in doubt, say N.
|
|
+
|
|
+config CPU_FREQ_GOV_INTERACTIVE
|
|
+ tristate "'interactive' cpufreq policy governor"
|
|
+ depends on CPU_FREQ
|
|
+ select CPU_FREQ_GOV_ATTR_SET
|
|
+ select IRQ_WORK
|
|
+ help
|
|
+ 'interactive' - This driver adds a dynamic cpufreq policy governor
|
|
+ designed for latency-sensitive workloads.
|
|
+
|
|
+ This governor attempts to reduce the latency of clock
|
|
+ increases so that the system is more responsive to
|
|
+ interactive workloads.
|
|
+
|
|
+ To compile this driver as a module, choose M here: the
|
|
+ module will be called cpufreq_interactive.
|
|
+
|
|
+ For details, take a look at linux/Documentation/cpu-freq.
|
|
+
|
|
If in doubt, say N.
|
|
|
|
config CPU_FREQ_GOV_SCHEDUTIL
|