mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00

Should fix http://bugs.rosalinux.ru/show_bug.cgi?id=4329 If CPU frequency scaling is not supported (e.g. in a virtual machine), cpupower will still be installed but its service will not be enabled. If CPU frequency scaling is supported, cpupower will now use - "ondemand" governor with "acpi_cpufreq" driver; - "powersave" governor with "intel_pstate" driver. These drivers support different sets of governors (for example, "intel_pstate" does not support "ondemand") and therefore are handled differently now.
3 lines
150 B
Text
3 lines
150 B
Text
# See 'cpupower help' and cpupower(1) for more info
|
|
CPUPOWER_START_OPTS="frequency-set -g @GOVERNOR@"
|
|
CPUPOWER_STOP_OPTS="frequency-set -g @GOVERNOR@
|