Set ondemand governor to builtin when using _default_cpu_gov="ondemand" on 5.9+.
The new intel_pstate changes make this necessary to prevent governor fallback to schedutil on boot even though cpufreq.default_governor=ondemand is set.
This commit is contained in:
parent
dd7ee2f12a
commit
9c7a8b262d
@ -903,6 +903,7 @@ _tkg_srcprep() {
|
||||
_custom_commandline+=" cpufreq.default_governor=performance"
|
||||
elif [ "$_default_cpu_gov" = "ondemand" ]; then
|
||||
_custom_commandline+=" cpufreq.default_governor=ondemand"
|
||||
sed -i -e 's/CONFIG_CPU_FREQ_GOV_ONDEMAND=m/CONFIG_CPU_FREQ_GOV_ONDEMAND=y/' ./.config
|
||||
fi
|
||||
msg2 "Command line set to \"$_custom_commandline\""
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user