pstate:init

fixup pstate
This commit is contained in:
paki23 committed 2022-07-31 13:57:38 +02:00
1 parent 83009edccc
commit 5e9934fa07
2 files changed
+10

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
{ lib, config, ... }: {
#Enables the amd cpu scaling https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html
imports = [ ./. ];
boot = lib.mkIf (!lib.versionOlder config.boot.kernelPackages.kernel.version "5.17") {
kernelParams = [ "initcall_blacklist=acpi_cpufreq_init" ];
kernelModules = [ "amd-pstate" ];
};
}