From 7c4daf87e531d39dbf5c5454e8a55390d9c09abe Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Thu, 4 May 2023 02:20:26 +0000 Subject: [PATCH] Set boost_adpf_prio with property Set boost_adpf_prio with property for experiment. Bug: 245675204 Test: work as expected Change-Id: I44001ef27238e6b089b7f33ebc72de6a4bd4d81e --- conf/init.gs101.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 3645b849..37c27260 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -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