diff options
author | Jรถrg Thalheim <Mic92@users.noreply.github.com> | 2019-09-23 08:06:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 08:06:23 +0100 |
commit | 9dd99b7735fa11cfb7d6aa55baed053cad87e017 (patch) | |
tree | 085e79eda628c6fc6c8fb3c2dc08ffe46be4eed2 /pkgs | |
parent | c73c32ddfe347692c6578b91c600996408b542b2 (diff) | |
parent | 299e6f07d2fde9f01bd9d8fa22c464739b769ee1 (diff) |
Merge pull request #67268 from michaelpj/imp/intel-rapl
kernel: set POWERCAP and INTEL_RAPL
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 4ad222b83e4..3b409f15aba 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -52,6 +52,9 @@ let CPU_FREQ_DEFAULT_GOV_PERFORMANCE = yes; CPU_FREQ_GOV_SCHEDUTIL = whenAtLeast "4.9" yes; PM_WAKELOCKS = yes; + # Power-capping framework and support for INTEL RAPL + POWERCAP = yes; + INTEL_RAPL = module; }; external-firmware = { |