Skip to content

Commit

Permalink
src/meta-raspberrypi:linux-raspberrypi: stop setting powersave as the…
Browse files Browse the repository at this point in the history
… default CPU governor

* The defconfigs from the RPi Kernel set `powersave` as the default
  CPU governor, which is a bad idea as that reduces performance by
  setting the CPU frequency to the minimum one.

* In case of a Yocto build user-space is not configured by default
  to change the CPU governor, so `powersave` will remain the CPU
  governor and it will slow down everything.

* I submitted a fix for those defconfigs to upstream here:
  raspberrypi/linux#5666
  However, we shouldn't wait until that is accepted and backported
  to all the stable branches (if ever is).

* This patch unsets the selection of `powersave` as the default CPU
  governor.

* Then the CPU governor that will be selected as default after this
  patch will be the Linux's default one that is either `ondemand` or
  `schedutil` depending on the Kernel version.

Signed-off-by: Carlos Alberto Lopez Perez <[email protected]>
  • Loading branch information
clopez authored and agherzan committed Oct 25, 2023
1 parent 5e7968e commit db08686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-raspberrypi
Submodule meta-raspberrypi updated from 3a0f66 to 0a4a68

0 comments on commit db08686

Please sign in to comment.