Merge pull request #445 from tomfitzhenry/pbp-no-freq-override

pine64-pinebook-pro: remove inappropriate overriding of min_freq
This commit is contained in:
Jörg Thalheim 2022-08-12 09:02:29 +01:00 committed by GitHub
commit 4387a4b5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,14 +69,6 @@
(pkgs.callPackage ./firmware/ap6256-firmware { }) (pkgs.callPackage ./firmware/ap6256-firmware { })
]; ];
systemd.tmpfiles.rules = [
# Tweak the minimum frequencies of the GPU and CPU governors to get a bit more performance
# https://github.com/elementary/os/blob/05a5a931806d4ed8bc90396e9e91b5ac6155d4d4/build-pinebookpro.sh#L288-L294
"w- /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq - - - - 1200000"
"w- /sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq - - - - 1008000"
"w- /sys/class/devfreq/ff9a0000.gpu/min_freq - - - - 600000000"
];
# The default powersave makes the wireless connection unusable. # The default powersave makes the wireless connection unusable.
networking.networkmanager.wifi.powersave = lib.mkDefault false; networking.networkmanager.wifi.powersave = lib.mkDefault false;
} }