From 4462a42c56d36e9b8b8d1a3f27a71ac0db128762 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Thu, 4 May 2023 15:07:24 +0800 Subject: [PATCH 1/2] include gs201 dump Bug: 280700265 Test: adb bugreport Change-Id: Iaaa4fbffb87796fa0e32a460eab961fa7f5f371b --- device.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device.mk b/device.mk index 41c2f954..04f5fcd3 100644 --- a/device.mk +++ b/device.mk @@ -1155,6 +1155,7 @@ include hardware/google/pixel/wifi_ext/device.mk # Battery Stats Viewer PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer +PRODUCT_PACKAGES += dump_power_gs201.sh # Install product specific framework compatibility matrix # (TODO: b/169535506) This includes the FCM for system_ext and product partition. From 9fd00f36cbcc5749673af0acc9c649f8facbfea7 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Thu, 4 May 2023 02:16:48 +0000 Subject: [PATCH 2/2] Set boost_adpf_prio with property Set boost_adpf_prio with property for experiment. Bug: 245675204 Test: work as expected Change-Id: If0fd7d1d581d349d7487ba4b4902e38a34d70436 --- conf/init.gs201.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index ebbd4753..866b3512 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -342,6 +342,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 late-fs # Start bootanimation class before mount start bootanim