From db0868659f4231037305be623783ddf74dfd3494 Mon Sep 17 00:00:00 2001 From: Carlos Alberto Lopez Perez Date: Fri, 20 Oct 2023 02:42:37 +0100 Subject: [PATCH] src/meta-raspberrypi:linux-raspberrypi: stop setting powersave as the 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: https://github.com/raspberrypi/linux/pull/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 --- src/meta-raspberrypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta-raspberrypi b/src/meta-raspberrypi index 3a0f6678e08..0a4a68dba67 160000 --- a/src/meta-raspberrypi +++ b/src/meta-raspberrypi @@ -1 +1 @@ -Subproject commit 3a0f6678e08e2b408a4634aa060753ffd89f63c7 +Subproject commit 0a4a68dba67442fbe3832a9d0764fa4ba7d08fba