aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorJรถrg Thalheim <Mic92@users.noreply.github.com>2019-09-23 08:06:23 +0100
committerGitHub <noreply@github.com>2019-09-23 08:06:23 +0100
commit9dd99b7735fa11cfb7d6aa55baed053cad87e017 (patch)
tree085e79eda628c6fc6c8fb3c2dc08ffe46be4eed2 /pkgs
parentc73c32ddfe347692c6578b91c600996408b542b2 (diff)
parent299e6f07d2fde9f01bd9d8fa22c464739b769ee1 (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.nix3
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 = {