summaryrefslogtreecommitdiff
path: root/init.hikey960.power.rc
AgeCommit message (Collapse)Author
2018-04-23hikey960: Fix powerHAL tunables to be set from ueventd.hikey960.rcDmitry Shmidt
Bug: 77971261 Test: Manual Change-Id: I78f8273e82b77090bde7184922e58d7cd39935ee Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-12-14powerHAL: Hikey960: Reduce schedtune boost margin to 20%Leo Yan
According to the profiling on Hikey960, usually we need set 15% ~ 20% boost margin for schedtune for UI performance boosting. With this setting and using PELT signal, the janks% can be decreased to <30%. This patch is to set boost margin to 20% and this also can leave the room for PELT performance optimization. Change-Id: Ic5eaa78294248076a0e2310461cd00a2fd7884e1 Signed-off-by: Leo Yan <leo.yan@linaro.org>
2017-12-14powerHAL: Add interface for GPU and DDR performance boostingLeo Yan
For UI performance we need to ensure GPU and DDR frequency to meet the performance requirement, otherwise even set the CPU boost margin to high value but the bottleneck is GPU or DDR side but not CPU. So this commit introduces the interface to support GPU and DDR performance boosting. After profiling on Hikey960, this patch adds the related performance boosting parameters for it. The DDR is set to 685MHz as minimum frequency and GPU is set to 960MHz as minimum value. Change-Id: Id5f6b0605a90f76cf55d891f4b7df3c0bf193aee Signed-off-by: Leo Yan <leo.yan@linaro.org>
2017-05-24hikey960: create dedicated .rc files for power parametersLeo Yan
Hikey960 has different CPU architecture with Hikey, these two platforms should use their own dedicate configurations for power, especially for EAS related settings. This patch is to split the power related settings into two files, one is init.hikey.power.rc and another is init.hikey960.power.rc. The main different setting for power setting is related with EAS parameters in proc nodes. For Hikey we set the parameters as below: write /proc/sys/kernel/sched_is_big_little 0 write /proc/sys/kernel/sched_cstate_aware 1 write /proc/sys/kernel/sched_sync_hint_enable 1 write /proc/sys/kernel/sched_initial_task_util 0 For Hikey960 we set the parameters as below: write /sys/kernel/debug/sched_features "ENERGY_AWARE" write /proc/sys/kernel/sched_is_big_little 1 write /proc/sys/kernel/sched_cstate_aware 1 write /proc/sys/kernel/sched_sync_hint_enable 0 write /proc/sys/kernel/sched_initial_task_util 0 On Hikey960 we also set default boost margin to 50%, and touch-boost to 100%. This will let the CPU frequency to reach highest OPP so can reduce scheduling latency; this is used to improve the GPU rendering performance. write /dev/stune/top-app/schedtune.boost 50 write /dev/stune/foreground/schedtune.boost 50 Change-Id: I641f5c78075012153fb73e830cb31dfc8dfd6e87 Signed-off-by: Leo Yan <leo.yan@linaro.org> [jstultz: Added and tweaked some of the parameters to work with the parameterized powerHAL] Signed-off-by: John Stultz <john.stultz@linaro.org>