diff --git a/audio/cheetah/config/audio_platform_configuration.xml b/audio/cheetah/config/audio_platform_configuration.xml
index 12f7f83..f5356bb 100644
--- a/audio/cheetah/config/audio_platform_configuration.xml
+++ b/audio/cheetah/config/audio_platform_configuration.xml
@@ -196,7 +196,7 @@
-
+
@@ -286,7 +286,7 @@
-
+
diff --git a/audio/cheetah/config/mixer_paths.xml b/audio/cheetah/config/mixer_paths.xml
index 7cccf52..33ac476 100644
--- a/audio/cheetah/config/mixer_paths.xml
+++ b/audio/cheetah/config/mixer_paths.xml
@@ -731,7 +731,7 @@
-
+
diff --git a/audio/cloudripper/tuning/waves/waves_config.ini b/audio/cloudripper/tuning/waves/waves_config.ini
index 36e092a..ba12a8e 100644
--- a/audio/cloudripper/tuning/waves/waves_config.ini
+++ b/audio/cloudripper/tuning/waves/waves_config.ini
@@ -5,7 +5,7 @@
# Putting any value other than 1 would be equivalent to not supported.
########################################################################################################
[HAL_SUPPORTED_FEATURES]
-CUSTOM_ACTION_258=1
+CUSTOM_ACTION_256=1
########################################################################################################
# This defined the options of supported sample rates.
@@ -26,9 +26,6 @@ OST_SPEAKER = 0:12,90:13,180:12,270:0|13
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
########################################################################################################
[HAL_SUPPORTED_PRESETS]
-SPEAKER_MUSIC_THROTTLE= OM:1,SM:2,OST:OST_SPEAKER
-SPEAKER_SAFE_MUSIC_THROTTLE = OM:10,SM:2,OST:OST_SPEAKER
-SPEAKER_SAFE_CALL_THROTTLE = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
@@ -40,7 +37,7 @@ HEADSET_MUSIC = OM:2,SM:2
# This can be configured by Waves or platform vendor.
########################################################################################################
[HAL_SUPPORTED_CONTROLS]
-SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL|SPEAKER_MUSIC_THROTTLE|SPEAKER_SAFE_MUSIC_THROTTLE|SPEAKER_SAFE_CALL_THROTTLE
+SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
@@ -55,10 +52,7 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
#AudioFormatSampleSize=4
#AudioFormatIncrement=8
-[CUSTOM_ACTION_258]
-CASE_1=PRIORITY:0,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC
-CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL
-CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC
-CASE_4=PRIORITY:3,NUMBERS:2:0|1:4,PRESET:SPEAKER_MUSIC_THROTTLE
-CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:4,PRESET:SPEAKER_SAFE_CALL_THROTTLE
-CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:4,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE
+[CUSTOM_ACTION_256]
+CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
+CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
+CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
diff --git a/audio/panther/config/audio_platform_configuration.xml b/audio/panther/config/audio_platform_configuration.xml
index 12f7f83..f5356bb 100644
--- a/audio/panther/config/audio_platform_configuration.xml
+++ b/audio/panther/config/audio_platform_configuration.xml
@@ -196,7 +196,7 @@
-
+
@@ -286,7 +286,7 @@
-
+
diff --git a/audio/panther/config/mixer_paths.xml b/audio/panther/config/mixer_paths.xml
index 7cccf52..33ac476 100644
--- a/audio/panther/config/mixer_paths.xml
+++ b/audio/panther/config/mixer_paths.xml
@@ -731,7 +731,7 @@
-
+
diff --git a/cheetah/display_colordata_boe-nt37290_cal0.pb b/cheetah/display_colordata_boe-nt37290_cal0.pb
index 52df64d..ddf0fd6 100644
Binary files a/cheetah/display_colordata_boe-nt37290_cal0.pb and b/cheetah/display_colordata_boe-nt37290_cal0.pb differ
diff --git a/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb b/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb
index c9fc154..8c320c5 100644
Binary files a/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb and b/cheetah/display_colordata_sdc-s6e3hc4_cal0.pb differ
diff --git a/device-cheetah.mk b/device-cheetah.mk
index 01439b0..8f900e3 100644
--- a/device-cheetah.mk
+++ b/device-cheetah.mk
@@ -67,6 +67,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/pantah/media_profiles_cheetah.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
+# Media Performance Class 13
+PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=33
+
# Display Config
PRODUCT_COPY_FILES += \
device/google/pantah/cheetah/display_colordata_boe-nt37290_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_boe-nt37290_cal0.pb \
diff --git a/device-panther.mk b/device-panther.mk
index 0ec7270..be43969 100644
--- a/device-panther.mk
+++ b/device-panther.mk
@@ -57,6 +57,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/pantah/media_profiles_panther.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
+# Media Performance Class 13
+PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=33
+
# Display Config
PRODUCT_COPY_FILES += \
device/google/pantah/panther/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb
diff --git a/panther/display_colordata_dev_cal0.pb b/panther/display_colordata_dev_cal0.pb
index 7f26914..b88b27c 100644
Binary files a/panther/display_colordata_dev_cal0.pb and b/panther/display_colordata_dev_cal0.pb differ
diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json
index fa25d1b..97e7ae2 100644
--- a/powerhint-cheetah-a0.json
+++ b/powerhint-cheetah-a0.json
@@ -256,6 +256,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -539,6 +548,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -587,6 +602,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -605,6 +626,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json
index 8ef5022..a4bae90 100644
--- a/powerhint-cheetah.json
+++ b/powerhint-cheetah.json
@@ -255,6 +255,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -538,6 +547,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -586,6 +601,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -604,6 +625,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-cloudripper.json b/powerhint-cloudripper.json
index 5623e5f..58488e4 100644
--- a/powerhint-cloudripper.json
+++ b/powerhint-cloudripper.json
@@ -213,6 +213,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -396,6 +405,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -444,6 +459,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json
index 51e6c8a..a9c5604 100644
--- a/powerhint-panther-a0.json
+++ b/powerhint-panther-a0.json
@@ -255,6 +255,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -527,6 +536,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -575,6 +590,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -593,6 +614,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-panther.json b/powerhint-panther.json
index ac8b999..d6e2029 100644
--- a/powerhint-panther.json
+++ b/powerhint-panther.json
@@ -254,6 +254,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -526,6 +535,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -574,6 +589,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -592,6 +613,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-ravenclaw.json b/powerhint-ravenclaw.json
index 8505101..5199cd3 100644
--- a/powerhint-ravenclaw.json
+++ b/powerhint-ravenclaw.json
@@ -396,6 +396,12 @@
"Duration": 5000,
"Value": "3172000"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -444,6 +450,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
@@ -654,6 +666,15 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "GPUMinFreq",