mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
init: add uclamp threshold setting
To filter tiny task, add uclamp threshold setting Test: build and boot pass Bug: 214098855 Signed-off-by: chungkai <chungkai@google.com> Change-Id: Ib8f20a8d0134eff972084cd72a2975d7f778d539
This commit is contained in:
committed by
Chung-Kai (Michael) Mei
parent
3c9226acc7
commit
1a05b6dc70
@@ -703,6 +703,7 @@ on property:sys.boot_completed=1
|
||||
setprop vendor.powerhal.init 1
|
||||
|
||||
# Setup final cpu.uclamp
|
||||
write /proc/vendor_sched/uclamp_threshold 8
|
||||
write /proc/vendor_sched/ta_uclamp_min 1
|
||||
write /proc/vendor_sched/fg_uclamp_min 0
|
||||
write /proc/vendor_sched/sys_prefer_idle 0
|
||||
|
||||
Reference in New Issue
Block a user