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.
commitc502efc72aea0636195a6df67a8e6ba801c70cbc
authorEelco Dolstra <eelco.dolstra@logicblox.com>
dateWed 4 Mar 2015, 17:04 (12 years ago)
parent26da67f
pkgs/os-specific/linux/kernel/common-config.nix+2
@@ -26,6 +26,8 @@ with stdenv.lib;
2626 ${optionalString (versionAtLeast version "3.10") ''
2727 X86_INTEL_PSTATE y
2828 ''}
29+ INTEL_IDLE y
30+ CPU_FREQ_DEFAULT_GOV_PERFORMANCE y
2931 ${optionalString (versionOlder version "3.10") ''
3032 USB_SUSPEND y
3133 ''}