From c502efc72aea0636195a6df67a8e6ba801c70cbc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Mar 2015 17:04:02 +0100 Subject: [PATCH] linux: Enable Intel idle driver Also build the performance governor into the kernel so there is a sane default. Note that cpufreq.service will still load "ondemand" on non-pstate systems. --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 7f7c0bd9609..77045a0440c 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -26,6 +26,8 @@ with stdenv.lib; ${optionalString (versionAtLeast version "3.10") '' X86_INTEL_PSTATE y ''} + INTEL_IDLE y + CPU_FREQ_DEFAULT_GOV_PERFORMANCE y ${optionalString (versionOlder version "3.10") '' USB_SUSPEND y ''}