NVIDIA: SAUCE: arm64: config: make performance governor default

BugLink: https://bugs.launchpad.net/bugs/2072591

Enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE to make performance
governor default. This is done to reduce the boot time. Later, the
governor will be switched to 'SCHEDUTIL' or others by 'nvpower.sh'
script as per platform requirements.
Also, enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL which is enabled as the
default governor for ARM64. But now we are making Performance
governor as default, so we need to explicitly turn this on. Previously,
in kernel 5.15, this change was done in separate commit id '2852940'.

http://nvbugs/3964366

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Kartik Rajput <kkartik@nvidia.com>
Reviewed-by: Kartik Rajput <kkartik@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Sumit Gupta
2023-02-14 15:07:17 +05:30
committed by Noah Wager
parent aea1b9f5e5
commit 953360cf47
+2
View File
@@ -91,10 +91,12 @@ CONFIG_ENERGY_MODEL=y
CONFIG_ARM_PSCI_CPUIDLE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_CPUFREQ_DT=y
CONFIG_ACPI_CPPC_CPUFREQ=m
CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=m