Set boost_adpf_prio with property

Set boost_adpf_prio with property for experiment.

Bug: 245675204
Test: work as expected
Change-Id: I44001ef27238e6b089b7f33ebc72de6a4bd4d81e
This commit is contained in:
Rick Yiu 2023-05-04 02:20:26 +00:00
parent a5c2741387
commit 7c4daf87e5

View file

@ -361,6 +361,9 @@ on init
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu6_memlat@17000010/mem_latency/ratio_ceil 3200
write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/mem_latency/ratio_ceil 3200
# Set boost_adpf_prio, -1 by default
write /proc/vendor_sched/boost_adpf_prio ${persist.device_config.vendor_system_native_boot.boost_adpf_prio:--1}
on init && property:ro.boot.hw.soc.rev=0
setprop vendor.powerhal.config powerhint_a0.json