diff --git a/audio/caiman/audio-tables.mk b/audio/caiman/audio-tables.mk index 28f99cff..295be07d 100644 --- a/audio/caiman/audio-tables.mk +++ b/audio/caiman/audio-tables.mk @@ -61,7 +61,8 @@ PRODUCT_PACKAGES += \ waves_config.ini \ waves_preset.mps \ compens_spk_l.conf \ - compens_spk_r.conf + compens_spk_r.conf \ + default_mic_compensation.bin # userdebug and eng specific PRODUCT_PACKAGES_DEBUG += \ diff --git a/audio/caiman/tuning/Android.bp b/audio/caiman/tuning/Android.bp index 54e6aa3a..e81b4e94 100644 --- a/audio/caiman/tuning/Android.bp +++ b/audio/caiman/tuning/Android.bp @@ -160,3 +160,9 @@ prebuilt_etc { filename_from_src: true, relative_install_path: "spatializer", } + +prebuilt_etc { + name: "default_mic_compensation.bin", + src: "compensation/default_mic_compensation.bin", + soc_specific: true, +} diff --git a/audio/caiman/tuning/compensation/default_mic_compensation.bin b/audio/caiman/tuning/compensation/default_mic_compensation.bin new file mode 100644 index 00000000..8ad8840e Binary files /dev/null and b/audio/caiman/tuning/compensation/default_mic_compensation.bin differ diff --git a/audio/komodo/audio-tables.mk b/audio/komodo/audio-tables.mk index 374b7842..1fd720f2 100644 --- a/audio/komodo/audio-tables.mk +++ b/audio/komodo/audio-tables.mk @@ -61,7 +61,8 @@ PRODUCT_PACKAGES += \ waves_config.ini \ waves_preset.mps \ compens_spk_l.conf \ - compens_spk_r.conf + compens_spk_r.conf \ + default_mic_compensation.bin # userdebug and eng specific PRODUCT_PACKAGES_DEBUG += \ diff --git a/audio/komodo/tuning/Android.bp b/audio/komodo/tuning/Android.bp index 54e6aa3a..e81b4e94 100644 --- a/audio/komodo/tuning/Android.bp +++ b/audio/komodo/tuning/Android.bp @@ -160,3 +160,9 @@ prebuilt_etc { filename_from_src: true, relative_install_path: "spatializer", } + +prebuilt_etc { + name: "default_mic_compensation.bin", + src: "compensation/default_mic_compensation.bin", + soc_specific: true, +} diff --git a/audio/komodo/tuning/compensation/default_mic_compensation.bin b/audio/komodo/tuning/compensation/default_mic_compensation.bin new file mode 100644 index 00000000..b8f3e903 Binary files /dev/null and b/audio/komodo/tuning/compensation/default_mic_compensation.bin differ diff --git a/audio/tokay/audio-tables.mk b/audio/tokay/audio-tables.mk index 15e50240..5aadc3e6 100644 --- a/audio/tokay/audio-tables.mk +++ b/audio/tokay/audio-tables.mk @@ -61,7 +61,8 @@ PRODUCT_PACKAGES += \ waves_config.ini \ waves_preset.mps \ compens_spk_l.conf \ - compens_spk_r.conf + compens_spk_r.conf \ + default_mic_compensation.bin # userdebug and eng specific PRODUCT_PACKAGES_DEBUG += \ diff --git a/audio/tokay/tuning/Android.bp b/audio/tokay/tuning/Android.bp index 54e6aa3a..e81b4e94 100644 --- a/audio/tokay/tuning/Android.bp +++ b/audio/tokay/tuning/Android.bp @@ -160,3 +160,9 @@ prebuilt_etc { filename_from_src: true, relative_install_path: "spatializer", } + +prebuilt_etc { + name: "default_mic_compensation.bin", + src: "compensation/default_mic_compensation.bin", + soc_specific: true, +} diff --git a/audio/tokay/tuning/compensation/default_mic_compensation.bin b/audio/tokay/tuning/compensation/default_mic_compensation.bin new file mode 100644 index 00000000..d4d82c29 Binary files /dev/null and b/audio/tokay/tuning/compensation/default_mic_compensation.bin differ diff --git a/caiman/overlay/frameworks/base/core/res/res/values/config.xml b/caiman/overlay/frameworks/base/core/res/res/values/config.xml index b8e8e55f..024b6c4b 100644 --- a/caiman/overlay/frameworks/base/core/res/res/values/config.xml +++ b/caiman/overlay/frameworks/base/core/res/res/values/config.xml @@ -33,13 +33,13 @@ 6 - 50 + 35 25 - 75 + 50 diff --git a/caiman/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml b/caiman/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml new file mode 100644 index 00000000..694bf1f4 --- /dev/null +++ b/caiman/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml @@ -0,0 +1,8 @@ + + + + + + GR83Y + diff --git a/caiman/overlay/packages/services/Telephony/res/values/config.xml b/caiman/overlay/packages/services/Telephony/res/values/config.xml index fc00abe0..4fe41dd2 100644 --- a/caiman/overlay/packages/services/Telephony/res/values/config.xml +++ b/caiman/overlay/packages/services/Telephony/res/values/config.xml @@ -43,13 +43,15 @@ in,,101,102,103,108 il,,101,102 tw,,110,119 - sg,,995 + + sg,01,995 + sg,02,995 + sg,03,995 + sg,10,995 ch,,1414 gp,,115,119,191,196,197,116000,116111,116117 sk,,159 - pl,01,984,985,997,998,999 - pl,06,984,985,997,998,999 - pl,,986,987,989,991,992,993,994,995,996 + pl,,984,985,986,987,989,991,992,993,994,995,996,997,998,999 re,,115,119,191,196,197,116000,116111,116117 si,,113 ba,,122,123,124 diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index c63cfa7d..215e60d2 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -79,3 +79,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GWVK6 setprop audio.camerasound.force true + +# Check serial no. from specific CM4 devices for audio. +on property:ro.boot.serialno=* + setprop vendor.audio_hal.device.serialno ${ro.boot.serialno} diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 51d7027f..97a6e229 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -83,3 +83,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GQ57S setprop audio.camerasound.force true + +# Check serial no. from specific KM4 devices for audio. +on property:ro.boot.serialno=* + setprop vendor.audio_hal.device.serialno ${ro.boot.serialno} diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index f0626726..99963f92 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -81,3 +81,7 @@ on fs # it should be written by the system init. on property:ro.boot.hardware.sku=G1B60 setprop audio.camerasound.force true + +# Check serial no. from specific TK4 devices for audio. +on property:ro.boot.serialno=* + setprop vendor.audio_hal.device.serialno ${ro.boot.serialno} diff --git a/device-caiman.mk b/device-caiman.mk index b2b2aa2d..56b02b80 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -434,9 +434,3 @@ PRODUCT_COPY_FILES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.thread_dispatcher.enabled=true - -# Thread HAL -ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork -endif diff --git a/device-komodo.mk b/device-komodo.mk index 619e79ca..0084c88b 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -435,9 +435,3 @@ PRODUCT_COPY_FILES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.thread_dispatcher.enabled=true - -# Thread HAL -ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork -endif diff --git a/device-ripcurrentpro.mk b/device-ripcurrentpro.mk index 43c4c1ab..c02b7190 100644 --- a/device-ripcurrentpro.mk +++ b/device-ripcurrentpro.mk @@ -243,7 +243,3 @@ PRODUCT_VENDOR_PROPERTIES += \ # PKVM Memory Reclaim PRODUCT_VENDOR_PROPERTIES += \ hypervisor.memory_reclaim.supported=1 - -# Thread HAL -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork diff --git a/device-tokay.mk b/device-tokay.mk index ca1f0bc1..ca3e3d44 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -406,9 +406,3 @@ PRODUCT_COPY_FILES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.thread_dispatcher.enabled=true - -# Thread HAL -ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) -PRODUCT_PACKAGES += \ - com.google.caimito.hardware.threadnetwork -endif diff --git a/komodo/overlay/frameworks/base/core/res/res/values/config.xml b/komodo/overlay/frameworks/base/core/res/res/values/config.xml index fee8b094..157f42c8 100644 --- a/komodo/overlay/frameworks/base/core/res/res/values/config.xml +++ b/komodo/overlay/frameworks/base/core/res/res/values/config.xml @@ -33,13 +33,13 @@ 6 - 50 + 35 25 - 75 + 50 diff --git a/komodo/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml b/komodo/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml new file mode 100644 index 00000000..45042d20 --- /dev/null +++ b/komodo/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml @@ -0,0 +1,8 @@ + + + + + + GGX8B + diff --git a/komodo/overlay/packages/services/Telephony/res/values/config.xml b/komodo/overlay/packages/services/Telephony/res/values/config.xml index fc00abe0..4fe41dd2 100644 --- a/komodo/overlay/packages/services/Telephony/res/values/config.xml +++ b/komodo/overlay/packages/services/Telephony/res/values/config.xml @@ -43,13 +43,15 @@ in,,101,102,103,108 il,,101,102 tw,,110,119 - sg,,995 + + sg,01,995 + sg,02,995 + sg,03,995 + sg,10,995 ch,,1414 gp,,115,119,191,196,197,116000,116111,116117 sk,,159 - pl,01,984,985,997,998,999 - pl,06,984,985,997,998,999 - pl,,986,987,989,991,992,993,994,995,996 + pl,,984,985,986,987,989,991,992,993,994,995,996,997,998,999 re,,115,119,191,196,197,116000,116111,116117 si,,113 ba,,122,123,124 diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index f85ae44c..8c6515aa 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/user/gps.cfg @@ -62,6 +62,16 @@ UP_LocTech_PrimaryConst=0 UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 RfPathLossDb_Ap=3210 RfPathLossDb_Cp=3210 RfPathLossDb_L5_Ap=4450 diff --git a/location/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index 29ee836c..9276d626 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/userdebug/gps.cfg @@ -198,6 +198,18 @@ UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +# GNSS power values in "mW" +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 + RfPathLossDb_Ap=3210 RfPathLossDb_Cp=3210 RfPathLossDb_L5_Ap=4450 diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index b474213f..fcbf35cf 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/user/gps.cfg @@ -62,6 +62,16 @@ UP_LocTech_PrimaryConst=0 UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 RfPathLossDb_Ap=3520 RfPathLossDb_Cp=3520 RfPathLossDb_L5_Ap=3700 diff --git a/location/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index 4c3be1f2..f7005830 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/userdebug/gps.cfg @@ -198,6 +198,18 @@ UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +# GNSS power values in "mW" +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 + RfPathLossDb_Ap=3520 RfPathLossDb_Cp=3520 RfPathLossDb_L5_Ap=3700 diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index cc19210f..337e44bc 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/user/gps.cfg @@ -62,6 +62,16 @@ UP_LocTech_PrimaryConst=0 UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 IsUseEntireRespTime911=1 isForceHighAccuracyMode=1 cp_partial_reset_disable=1 diff --git a/location/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index 79a2acf9..418045c1 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/userdebug/gps.cfg @@ -198,6 +198,18 @@ UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +# GNSS power values in "mW" +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 + NmeaBitmask=0x010003fff # force engine to use entire response time for emergency session; default 0 diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index cc19210f..337e44bc 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/user/gps.cfg @@ -62,6 +62,16 @@ UP_LocTech_PrimaryConst=0 UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 IsUseEntireRespTime911=1 isForceHighAccuracyMode=1 cp_partial_reset_disable=1 diff --git a/location/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index 79a2acf9..418045c1 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/userdebug/gps.cfg @@ -198,6 +198,18 @@ UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +# GNSS power values in "mW" +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 + NmeaBitmask=0x010003fff # force engine to use entire response time for emergency session; default 0 diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index acf39c70..6a6f63df 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/user/gps.cfg @@ -62,6 +62,16 @@ UP_LocTech_PrimaryConst=0 UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 RfPathLossDb_Ap=3550 RfPathLossDb_Cp=3550 RfPathLossDb_L5_Ap=3870 diff --git a/location/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index 82297f1c..74f52461 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/userdebug/gps.cfg @@ -198,6 +198,18 @@ UP_LocTech_Constraints=1 UP_LocTech_Requirements=0 SpotLogger_Allowed=0 +# GNSS power values in "mW" +SingleBandAcqPower=69 +MultiBandAcqPower=90 +SingleBandFullTrkPower=55 +MultiBandFullTrkPower=70 +SingleBandDutyCycleTrkPower=50 +MultiBandDutyCycleTrkPower=65 +SingleBandNmTrkPower=20 +MultiBandNmTrkPower=28 +SingleBandUdTrkPower=14 +MultiBandUdTrkPower=18 + RfPathLossDb_Ap=3550 RfPathLossDb_Cp=3550 RfPathLossDb_L5_Ap=3870 diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 93f80240..8b42d97e 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -205,6 +205,70 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "AutoMigrationMarginsEnable", + "Path": "/proc/vendor_sched/auto_migration_margins_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "AutoDvfsHeadroomEnable", + "Path": "/proc/vendor_sched/auto_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "TARampupMultiplier", + "Path": "/proc/vendor_sched/groups/ta/rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 1, + "ResetOnInit": true + }, + { + "Name": "AdpfRampupMultiplier", + "Path": "/proc/vendor_sched/adpf_rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 2, + "ResetOnInit": true + }, + { + "Name": "PerTaskMaxIowaitBoost", + "Path": "/proc/vendor_sched/per_task_iowait_boost_max_value", + "Values": [ + "0", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CPUUClampMaxFilterEnable", "Path": "/proc/vendor_sched/uclamp_max_filter_enable", @@ -617,9 +681,10 @@ "Values": [ "76", "55", - "38", - "36", "10", + "47", + "45", + "36", "30", "28" ], @@ -642,10 +707,9 @@ "Values": [ "59", "30", - "20", "2", - "18", - "15" + "23", + "20" ], "DefaultIndex": 0 }, @@ -666,8 +730,7 @@ "62", "0", "20", - "22", - "15" + "22" ], "DefaultIndex": 0 }, @@ -1296,6 +1359,12 @@ "Duration": 0, "Value": "0x80" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", @@ -1780,7 +1849,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "36" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1792,7 +1861,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1804,7 +1873,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1818,6 +1887,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPUDVFSHeadroom", @@ -1918,7 +2023,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "38" + "Value": "45" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1930,7 +2035,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1956,6 +2061,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUDVFSHeadroom", @@ -2074,7 +2215,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "30" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2086,7 +2227,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2118,6 +2259,42 @@ "Duration": 0, "Value": "1100 1024 1100" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CPUDVFSHeadroom", @@ -2196,6 +2373,42 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CPUDVFSHeadroom", @@ -2394,6 +2607,24 @@ "Duration": 0, "Value": "0-6" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "CPUDVFSHeadroom", @@ -2683,6 +2914,18 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "DISPLAY_UPDATE_IMMINENT", "Node": "CPULittleClusterDownRateLimitUs", @@ -2879,13 +3122,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -2911,6 +3154,36 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "GAME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "2" + }, + { + "PowerHint": "GAME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "512" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUMidClusterMaxFreq", @@ -2989,6 +3262,42 @@ "Duration": 2000, "Value": "44" }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_PROJECT11", "Node": "AutoPreferIdle", @@ -3011,7 +3320,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "28" + "Value": "47" }, { "PowerHint": "CAMERA_PROJECT11", @@ -3023,7 +3332,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_PROJECT11", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 9a15f79d..644f2b2a 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -205,6 +205,70 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "AutoMigrationMarginsEnable", + "Path": "/proc/vendor_sched/auto_migration_margins_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "AutoDvfsHeadroomEnable", + "Path": "/proc/vendor_sched/auto_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "TARampupMultiplier", + "Path": "/proc/vendor_sched/groups/ta/rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 1, + "ResetOnInit": true + }, + { + "Name": "AdpfRampupMultiplier", + "Path": "/proc/vendor_sched/adpf_rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 2, + "ResetOnInit": true + }, + { + "Name": "PerTaskMaxIowaitBoost", + "Path": "/proc/vendor_sched/per_task_iowait_boost_max_value", + "Values": [ + "0", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CPUUClampMaxFilterEnable", "Path": "/proc/vendor_sched/uclamp_max_filter_enable", @@ -617,9 +681,10 @@ "Values": [ "76", "55", - "38", - "36", "10", + "47", + "45", + "36", "30", "28" ], @@ -642,10 +707,9 @@ "Values": [ "59", "30", - "20", "2", - "18", - "15" + "23", + "20" ], "DefaultIndex": 0 }, @@ -666,8 +730,7 @@ "62", "0", "20", - "22", - "15" + "22" ], "DefaultIndex": 0 }, @@ -1296,6 +1359,12 @@ "Duration": 0, "Value": "0x80" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", @@ -1780,7 +1849,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "36" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1792,7 +1861,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1804,7 +1873,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1818,6 +1887,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPUDVFSHeadroom", @@ -1918,7 +2023,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "38" + "Value": "45" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1930,7 +2035,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1956,6 +2061,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUDVFSHeadroom", @@ -2074,7 +2215,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "30" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2086,7 +2227,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2118,6 +2259,42 @@ "Duration": 0, "Value": "1100 1024 1100" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CPUDVFSHeadroom", @@ -2196,6 +2373,42 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CPUDVFSHeadroom", @@ -2394,6 +2607,24 @@ "Duration": 0, "Value": "0-6" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "CPUDVFSHeadroom", @@ -2683,6 +2914,18 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "DISPLAY_UPDATE_IMMINENT", "Node": "CPULittleClusterDownRateLimitUs", @@ -2879,13 +3122,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -2911,6 +3154,36 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "GAME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "2" + }, + { + "PowerHint": "GAME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "512" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUMidClusterMaxFreq", @@ -2989,6 +3262,42 @@ "Duration": 2000, "Value": "44" }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_PROJECT11", "Node": "AutoPreferIdle", @@ -3011,7 +3320,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "28" + "Value": "47" }, { "PowerHint": "CAMERA_PROJECT11", @@ -3023,7 +3332,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_PROJECT11", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 8b7f61c8..3912d9ba 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -700,9 +700,10 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Values": [ "76", - "38", - "36", "10", + "47", + "45", + "36", "30", "0" ], @@ -725,10 +726,10 @@ "Values": [ "59", "50", - "20", + "30", "2", - "18", - "15" + "23", + "20" ], "DefaultIndex": 0 }, @@ -747,10 +748,10 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Values": [ "62", + "50", "0", "20", - "22", - "15" + "22" ], "DefaultIndex": 0 }, @@ -1768,7 +1769,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "36" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1780,7 +1781,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1792,7 +1793,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1906,7 +1907,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "38" + "Value": "45" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1918,7 +1919,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2062,7 +2063,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "30" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2074,7 +2075,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 93f80240..8b42d97e 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -205,6 +205,70 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "AutoMigrationMarginsEnable", + "Path": "/proc/vendor_sched/auto_migration_margins_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "AutoDvfsHeadroomEnable", + "Path": "/proc/vendor_sched/auto_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "TARampupMultiplier", + "Path": "/proc/vendor_sched/groups/ta/rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 1, + "ResetOnInit": true + }, + { + "Name": "AdpfRampupMultiplier", + "Path": "/proc/vendor_sched/adpf_rampup_multiplier", + "Values": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8" + ], + "DefaultIndex": 2, + "ResetOnInit": true + }, + { + "Name": "PerTaskMaxIowaitBoost", + "Path": "/proc/vendor_sched/per_task_iowait_boost_max_value", + "Values": [ + "0", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CPUUClampMaxFilterEnable", "Path": "/proc/vendor_sched/uclamp_max_filter_enable", @@ -617,9 +681,10 @@ "Values": [ "76", "55", - "38", - "36", "10", + "47", + "45", + "36", "30", "28" ], @@ -642,10 +707,9 @@ "Values": [ "59", "30", - "20", "2", - "18", - "15" + "23", + "20" ], "DefaultIndex": 0 }, @@ -666,8 +730,7 @@ "62", "0", "20", - "22", - "15" + "22" ], "DefaultIndex": 0 }, @@ -1296,6 +1359,12 @@ "Duration": 0, "Value": "0x80" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", @@ -1780,7 +1849,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "36" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1792,7 +1861,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1804,7 +1873,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_BIG_SPC_THRESHOLD", "Duration": 0, - "Value": "15" + "Value": "20" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1818,6 +1887,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPUDVFSHeadroom", @@ -1918,7 +2023,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "38" + "Value": "45" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1930,7 +2035,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "20" + "Value": "30" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1956,6 +2061,42 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUDVFSHeadroom", @@ -2074,7 +2215,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "30" + "Value": "47" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2086,7 +2227,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -2118,6 +2259,42 @@ "Duration": 0, "Value": "1100 1024 1100" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CPUDVFSHeadroom", @@ -2196,6 +2373,42 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CPUDVFSHeadroom", @@ -2394,6 +2607,24 @@ "Duration": 0, "Value": "0-6" }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "Node": "CPUDVFSHeadroom", @@ -2683,6 +2914,18 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_IDLE", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "DISPLAY_UPDATE_IMMINENT", "Node": "CPULittleClusterDownRateLimitUs", @@ -2879,13 +3122,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -2911,6 +3154,36 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "GAME", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "TARampupMultiplier", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "AdpfRampupMultiplier", + "Duration": 0, + "Value": "2" + }, + { + "PowerHint": "GAME", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "512" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUMidClusterMaxFreq", @@ -2989,6 +3262,42 @@ "Duration": 2000, "Value": "44" }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoMigrationMarginsEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "AutoDvfsHeadroomEnable", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "PerTaskMaxIowaitBoost", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_PROJECT11", "Node": "AutoPreferIdle", @@ -3011,7 +3320,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "28" + "Value": "47" }, { "PowerHint": "CAMERA_PROJECT11", @@ -3023,7 +3332,7 @@ "PowerHint": "CAMERA_PROJECT11", "Node": "PMU_MID_SPC_THRESHOLD", "Duration": 0, - "Value": "18" + "Value": "23" }, { "PowerHint": "CAMERA_PROJECT11", diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml index 9d1fe50c..b8209682 100644 --- a/rro_overlays/WifiOverlay/res/values/config.xml +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -152,7 +152,7 @@ - true + false diff --git a/tokay/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml b/tokay/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml new file mode 100644 index 00000000..06ef1888 --- /dev/null +++ b/tokay/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml @@ -0,0 +1,8 @@ + + + + + + G2YBB + diff --git a/tokay/overlay/packages/services/Telephony/res/values/config.xml b/tokay/overlay/packages/services/Telephony/res/values/config.xml index fc00abe0..4fe41dd2 100644 --- a/tokay/overlay/packages/services/Telephony/res/values/config.xml +++ b/tokay/overlay/packages/services/Telephony/res/values/config.xml @@ -43,13 +43,15 @@ in,,101,102,103,108 il,,101,102 tw,,110,119 - sg,,995 + + sg,01,995 + sg,02,995 + sg,03,995 + sg,10,995 ch,,1414 gp,,115,119,191,196,197,116000,116111,116117 sk,,159 - pl,01,984,985,997,998,999 - pl,06,984,985,997,998,999 - pl,,986,987,989,991,992,993,994,995,996 + pl,,984,985,986,987,989,991,992,993,994,995,996,997,998,999 re,,115,119,191,196,197,116000,116111,116117 si,,113 ba,,122,123,124 diff --git a/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_in.png b/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_in.png new file mode 100644 index 00000000..318a692d Binary files /dev/null and b/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_in.png differ diff --git a/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_vn.png b/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_vn.png new file mode 100644 index 00000000..1814f0ae Binary files /dev/null and b/tokay/overlay_packages/SettingsTokayOverlay/res/drawable/regulatory_info_gur25_vn.png differ