From 30602dea6a324566f236ed98e8f800674995d764 Mon Sep 17 00:00:00 2001 From: Yash Goyal Date: Mon, 13 Apr 2020 22:56:12 -0500 Subject: Setting CPU scaling_governor to performance mode --- recipes-kernel/linux/files/default-cpu-scaling-gov.cfg | 1 + recipes-kernel/linux/linux-raspberrypi_%.bbappend | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/files/default-cpu-scaling-gov.cfg diff --git a/recipes-kernel/linux/files/default-cpu-scaling-gov.cfg b/recipes-kernel/linux/files/default-cpu-scaling-gov.cfg new file mode 100644 index 0000000..9db12ce --- /dev/null +++ b/recipes-kernel/linux/files/default-cpu-scaling-gov.cfg @@ -0,0 +1 @@ +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y \ No newline at end of file diff --git a/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/recipes-kernel/linux/linux-raspberrypi_%.bbappend index 5732e4f..86ed263 100644 --- a/recipes-kernel/linux/linux-raspberrypi_%.bbappend +++ b/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -1,4 +1,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += "file://0001-Edge-increased-the-HCI_LE_AUTOCONN_TIMEOUT-to-20-sec.patch \ - file://extra-kernel-config.cfg" + file://extra-kernel-config.cfg" \ + file://default-cpu-scaling-gov.cfg" -- cgit v1.2.3