diff --git a/conf/init.zumapro.soc.rc b/conf/init.zumapro.soc.rc index 2c6d4d5..ac9c316 100644 --- a/conf/init.zumapro.soc.rc +++ b/conf/init.zumapro.soc.rc @@ -28,17 +28,30 @@ on init write /proc/vendor_sched/groups/sys/uclamp_min 190 write /proc/vendor_sched/groups/sys/prefer_idle 1 + write /proc/vendor_sched/groups/bg/rampup_multiplier 0 + write /proc/vendor_sched/groups/cam/rampup_multiplier 1 + write /proc/vendor_sched/groups/cam_power/rampup_multiplier 1 + write /proc/vendor_sched/groups/dex2oat/rampup_multiplier 0 + write /proc/vendor_sched/groups/fg/rampup_multiplier 0 + write /proc/vendor_sched/groups/nnapi/rampup_multiplier 0 + write /proc/vendor_sched/groups/ota/rampup_multiplier 0 + write /proc/vendor_sched/groups/rt/rampup_multiplier 0 + write /proc/vendor_sched/groups/sf/rampup_multiplier 1 + write /proc/vendor_sched/groups/sys/rampup_multiplier 0 + write /proc/vendor_sched/groups/sys_bg/rampup_multiplier 0 + write /proc/vendor_sched/groups/ta/rampup_multiplier 1 + write /proc/vendor_sched/adpf_rampup_multiplier 2 + # 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/cpu0/cpufreq/sched_pixel/down_rate_limit_us 500 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/cpu4/cpufreq/sched_pixel/down_rate_limit_us 500 write /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor sched_pixel write /sys/devices/system/cpu/cpu7/cpufreq/sched_pixel/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu7/cpufreq/sched_pixel/down_rate_limit_us 20000 + write /sys/devices/system/cpu/cpu7/cpufreq/sched_pixel/down_rate_limit_us 500 # memlat cpuidle awareness setting # FIXME(b/301212469) these nodes missing on zuma pro diff --git a/device.mk b/device.mk index ba19212..3389983 100644 --- a/device.mk +++ b/device.mk @@ -395,22 +395,9 @@ PRODUCT_VENDOR_PROPERTIES += \ # GRAPHICS - GPU (end) # #################### -PRODUCT_SHIPPING_API_LEVEL := $(SHIPPING_API_LEVEL) - # Device Manifest, Device Compatibility Matrix for Treble -# -# Install product specific framework compatibility matrix -# (TODO: b/169535506) This includes the FCM for system_ext and product partition. -# It must be split into the FCM of each partition. -ifeq ($(PRODUCT_SHIPPING_API_LEVEL),35) -DEVICE_MANIFEST_FILE := \ - device/google/zumapro/manifest_202404.xml -DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/zumapro/device_framework_matrix_product_202404.xml -else DEVICE_MANIFEST_FILE := \ device/google/zumapro/manifest.xml -DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/zumapro/device_framework_matrix_product.xml -endif ifneq (,$(filter aosp_%,$(TARGET_PRODUCT))) DEVICE_MANIFEST_FILE += \ @@ -432,6 +419,8 @@ DEVICE_MATRIX_FILE := \ DEVICE_PACKAGE_OVERLAYS += device/google/zumapro/overlay +PRODUCT_SHIPPING_API_LEVEL := 34 + # RKP VINTF -include vendor/google_nos/host/android/hals/keymaster/aidl/strongbox/RemotelyProvisionedComponent-citadel.mk @@ -1197,6 +1186,11 @@ include hardware/google/pixel/wifi_ext/device.mk # Battery Stats Viewer PRODUCT_PACKAGES_DEBUG += BatteryStatsViewer +# Install product specific framework compatibility matrix +# (TODO: b/169535506) This includes the FCM for system_ext and product partition. +# It must be split into the FCM of each partition. +DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/zumapro/device_framework_matrix_product.xml + # Keymint configuration PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ diff --git a/device_framework_matrix_product_202404.xml b/device_framework_matrix_product_202404.xml deleted file mode 100644 index 1dbfb17..0000000 --- a/device_framework_matrix_product_202404.xml +++ /dev/null @@ -1,264 +0,0 @@ - - - android.hardware.boot - IBootControl/default - - - android.hardware.graphics.composer3 - 2 - - IComposer - default - - - - android.hardware.graphics.mapper - 4.0 - - IMapper - default - - - - android.hardware.radio - 1.2 - - ISap - slot2 - - - - android.hardware.radio.config - 2 - - IRadioConfig - default - - - - android.hardware.radio.data - 2 - - IRadioData - slot1 - slot2 - slot3 - - - - android.hardware.radio.messaging - 2 - - IRadioMessaging - slot1 - slot2 - slot3 - - - - android.hardware.radio.modem - 2 - - IRadioModem - slot1 - slot2 - slot3 - - - - android.hardware.radio.network - 2 - - IRadioNetwork - slot1 - slot2 - slot3 - - - - android.hardware.radio.sim - 2 - - IRadioSim - slot1 - slot2 - slot3 - - - - android.hardware.radio.voice - 2 - - IRadioVoice - slot1 - slot2 - slot3 - - - - android.hardware.vibrator - 2 - - IVibrator - dual - - - - android.hardware.wifi.hostapd - 1 - - IHostapd - default - - - - android.vendor.samsung_slsi.telephony.hardware.radio - 1.1 - - IOemSamsungslsi - slot1 - slot2 - - - - com.fingerprints33.extension - 1.0 - - IFingerprintAuthenticator - default - - - IFingerprintCalibration - default - - - IFingerprintEngineering - default - - - IFingerprintNavigation - default - - - IFingerprintRecalibration - default - - - IFingerprintSenseTouch - default - - - IFingerprintSensorTest - default - - - - com.google.face.debug - 3-4 - - IDebugHost - default - - - IDebugManager - default - - - - com.google.edgetpu - 2 - - IEdgeTpuVendorService - default - - - - com.google.edgetpu.dba - 1 - - IDevice - default - - - - com.google.edgetpu.tachyon - 1 - - IComputeService - default - - - - com.google.hardware.pixel.display - 12 - - IDisplay - default - - - - hardware.qorvo.uwb - - IUwbVendor - default - - - - vendor.goodix.hardware.biometrics.fingerprint - 2.1 - - IGoodixFingerprintDaemon - default - - - - vendor.google.google_battery - 2-3 - - IGoogleBattery - default - - - - vendor.google.radioext - 1.7 - - IRadioExt - default - - - - vendor.google.wifi_ext - 2-3 - - IWifiExt - default - - - - vendor.samsung_slsi.telephony.hardware.oemservice - 1.0 - - IOemService - dm0 - dm1 - sced0 - - - - com.google.pixel.modem.logmasklibrary - 1 - - ILiboemserviceProxy - default - - - - vendor.samsung_slsi.telephony.hardware.radioExternal - 1.1 - - IOemSlsiRadioExternal - rilExternal - - - diff --git a/manifest_202404.xml b/manifest_202404.xml deleted file mode 100644 index 99dd18d..0000000 --- a/manifest_202404.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - android.hardware.graphics.mapper - passthrough - 4.0 - - IMapper - default - - - - android.hardware.boot - IBootControl/default - -