From 43c6cf5adaddc7f5431593375aa492ea7d20c923 Mon Sep 17 00:00:00 2001 From: kellyhung Date: Tue, 19 Nov 2024 08:21:24 +0000 Subject: [PATCH 1/2] Add soong config use_google_qns in zuma Bug: 360757079 Test: Presubmits Flag: EXEMPT bugfix Change-Id: Ic3dcfbbeb62f5c152f0d43c9182e98a5b2bc74f0 --- device.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device.mk b/device.mk index b35a89c9..aa83ffa3 100644 --- a/device.mk +++ b/device.mk @@ -233,6 +233,9 @@ endif # Use for GRIL USES_LASSEN_MODEM := true $(call soong_config_set, vendor_ril_google_feature, use_lassen_modem, true) +ifneq ($(BOARD_WITHOUT_RADIO),true) +$(call soong_config_set_bool,grilservice,use_google_qns,true) +endif ifeq ($(USES_GOOGLE_DIALER_CARRIER_SETTINGS),true) USE_GOOGLE_DIALER := true From ff7717d54cca2903c9ce3672928275e58293fe1e Mon Sep 17 00:00:00 2001 From: Will Song Date: Wed, 27 Nov 2024 02:23:45 -0800 Subject: [PATCH 2/2] init: zuma: move sched rate limit to late init Since pixel performance has a shared configuration, we need to move override values into late init. Bug: 381100494 Test: Boot Flag: EXEMPT bug fix Change-Id: I20d38e481d43d1068a6faebec298446929812ffb --- conf/init.zuma.rc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 10b8ccf2..527b8211 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -150,14 +150,11 @@ on init # governor setting write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor sched_pixel write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us 5000 write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_scale_pow 2 write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor sched_pixel write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us 20000 write /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor sched_pixel write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us 20000 # memlat cpuidle awareness setting @@ -374,6 +371,11 @@ on late-fs # Mount RW partitions which need run fsck mount_all --late +on late-init + write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us 5000 + write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us 20000 + write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us 20000 + on post-fs-data # Modem temperature driver chown radio system /sys/devices/platform/cp-tm1/cp_temp