xref: /openbmc/openbmc/meta-raspberrypi/recipes-kernel/linux/files/default-cpu-governor.cfg (revision ac13d5f36a6bd845f1709b7f41c02bd3b412ad15)
1*ac13d5f3SPatrick Williams# The defconfigs from the RPi Kernel set "powersave" as the default CPU governor.
2*ac13d5f3SPatrick Williams# That is a bad idea as it reduces performance, so we unset that default option here.
3*ac13d5f3SPatrick Williams# The option to build the powersave governor (but not as the default) is also enabled.
4*ac13d5f3SPatrick Williams# A fix for this was sent to upstream: https://github.com/raspberrypi/linux/pull/5666
5*ac13d5f3SPatrick Williams# However, we need to carry this option override until those defconfigs are fixed on
6*ac13d5f3SPatrick Williams# *all* the kernel branches that we support. So that can be a long time depending
7*ac13d5f3SPatrick Williams# on wheter the above PR gets accepted and/or backported to the stable branches.
8*ac13d5f3SPatrick WilliamsCONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=n
9*ac13d5f3SPatrick WilliamsCONFIG_CPU_FREQ_GOV_POWERSAVE=y
10