From 942b1ffa807c6b4efd6623c65ac36f8bcb204e07 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sun, 26 Mar 2017 16:39:47 -0700 Subject: [PATCH] projects/WeTek_Core: Switch to "hotplug" CPU scaling governor Many WeTek Core users have been experiencing major UI lag issues when using the "ondemand" governor. If left inactive for a period of time, the UI becomes extremely sluggish and a reboot is required. Users did not experience this issue with LE 7. The switch from the "performance" to "interactive" governor was made in revision 8610fb3270 ("projects/WeTek_Core: Use interactive CPU scaling governor by default"). Users then started experiencing the UI issues, and revision c908c1f453 ("projects/WeTek_Core: Switch to ondemand CPU scaling governor") attempted to address the problem. Unfortunately, this did not appear to resolve the issue. After switching to "hotplug", users could not replicate the UI lag issues anymore. --- projects/WeTek_Core/linux/linux.arm.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/WeTek_Core/linux/linux.arm.conf b/projects/WeTek_Core/linux/linux.arm.conf index abf3583b98..49cb92fe43 100644 --- a/projects/WeTek_Core/linux/linux.arm.conf +++ b/projects/WeTek_Core/linux/linux.arm.conf @@ -492,8 +492,8 @@ CONFIG_CPU_FREQ_STAT=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y -# CONFIG_CPU_FREQ_DEFAULT_GOV_HOTPLUG is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set + CONFIG_CPU_FREQ_DEFAULT_GOV_HOTPLUG=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y