summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/Kconfig.x86
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-26 20:24:35 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-26 20:32:49 +0100
commita00ec3874e7d326ab2dffbed92faddf6a77a84e9 (patch)
tree0d21a853712777647d9b61b098aca34f4be87199 /drivers/cpufreq/Kconfig.x86
parentcpufreq: intel_pstate: Simplify intel_pstate_cpu_init() (diff)
downloadlinux-a00ec3874e7d326ab2dffbed92faddf6a77a84e9.tar.xz
linux-a00ec3874e7d326ab2dffbed92faddf6a77a84e9.zip
cpufreq: intel_pstate: Select schedutil as the default governor
Modify cpufreq Kconfig to select schedutil as the default governor if the intel_pstate driver has been selected and SMP support is enabled (because schedutil depends on SMP). Also select schedutil as well as the performance governor from the intel_pstate Kconfig section to ensure the equivalence of the passive and active mode governor configuration options. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
-rw-r--r--drivers/cpufreq/Kconfig.x862
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index a6528388952e..758c69a2e1bf 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
@@ -8,6 +8,8 @@ config X86_INTEL_PSTATE
depends on X86
select ACPI_PROCESSOR if ACPI
select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
+ select CPU_FREQ_GOV_PERFORMANCE
+ select CPU_FREQ_GOV_SCHEDUTIL if SMP
help
This driver provides a P state for Intel core processors.
The driver implements an internal governor and will become