mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
ANDROID: cpuidle: enable TEO and MENU governors in gki_defconfig
TEO governor was implemented in android12-5.10, however CONFIG_CPU_IDLE_GOV_TEO was not enabled in gki_defconfig and vendor can not select TEO governor. This commit enable TEO and MENU governors in gki_defconfig, and vendors can select the governor they wanted, e.g. in rc file: write /sys/devices/system/cpu/cpuidle/current_governor "teo" Besides, MENU governor's rating is 20, and higher than TEO governor, so MENU governor is still the default governor if vendors not select the governor manually. Bug: 185762657 Change-Id: I87be7c4d119f17901b921f22dd7df8b61ac539af Signed-off-by: rogercl.yang <rogercl.yang@mediatek.com>
This commit is contained in:
@@ -65,6 +65,8 @@ CONFIG_PM_WAKELOCKS_LIMIT=0
|
||||
# CONFIG_PM_WAKELOCKS_GC is not set
|
||||
CONFIG_ENERGY_MODEL=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_CPU_IDLE_GOV_MENU=y
|
||||
CONFIG_CPU_IDLE_GOV_TEO=y
|
||||
CONFIG_ARM_CPUIDLE=y
|
||||
CONFIG_ARM_PSCI_CPUIDLE=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
|
||||
Reference in New Issue
Block a user