diff --git a/device-cheetah.mk b/device-cheetah.mk index 3759ccb..6b022f7 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -178,9 +178,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES_DEBUG += \ sar_test -# declare use of spatial audio +# declare use of spatial audio: disabled PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=true + ro.audio.spatializer_enabled=false # Keymaster HAL #LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service @@ -262,7 +262,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=6 + ro.vendor.build.svn=10 # DCK properties based on target PRODUCT_PROPERTY_OVERRIDES += \ diff --git a/device-panther.mk b/device-panther.mk index e053afb..bad75e7 100644 --- a/device-panther.mk +++ b/device-panther.mk @@ -161,9 +161,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES_DEBUG += \ sar_test -# declare use of spatial audio +# declare use of spatial audio: disabled PRODUCT_PROPERTY_OVERRIDES += \ - ro.audio.spatializer_enabled=true + ro.audio.spatializer_enabled=false # Keymaster HAL #LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service @@ -249,7 +249,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=6 + ro.vendor.build.svn=10 # DCK properties based on target PRODUCT_PROPERTY_OVERRIDES += \ diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 1207c8d..618dca2 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -558,6 +558,14 @@ ], "DefaultIndex": 0 }, + { + "Name": "PMU_MID_LIMIT_FREQ", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", + "Values": [ + "1836000" + ], + "DefaultIndex": 0 + }, { "Name": "PMU_MID_LCPI_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", @@ -1115,6 +1123,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1836000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_LCPI_THRESHOLD", @@ -1211,60 +1225,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_POLL", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_SPC_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LIMIT_FREQ", - "Duration": 0, - "Value": "1826000" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "EM_Profile", - "Duration": 0, - "Value": "cam1" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1277,6 +1237,24 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterMaxFreq", + "Duration": 0, + "Value": "1826000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterMaxFreq", + "Duration": 0, + "Value": "1491000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterMaxFreq", + "Duration": 0, + "Value": "1401000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index a752ab3..ee5c42a 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -555,6 +555,14 @@ ], "DefaultIndex": 0 }, + { + "Name": "PMU_MID_LIMIT_FREQ", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", + "Values": [ + "1836000" + ], + "DefaultIndex": 0 + }, { "Name": "PMU_MID_LCPI_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", @@ -1157,6 +1165,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1836000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_LCPI_THRESHOLD", @@ -1253,60 +1267,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_POLL", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_SPC_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LIMIT_FREQ", - "Duration": 0, - "Value": "1826000" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "EM_Profile", - "Duration": 0, - "Value": "cam1" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1319,6 +1279,24 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterMaxFreq", + "Duration": 0, + "Value": "1826000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterMaxFreq", + "Duration": 0, + "Value": "1491000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterMaxFreq", + "Duration": 0, + "Value": "1401000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index a5daca8..acd02db 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -547,6 +547,14 @@ ], "DefaultIndex": 0 }, + { + "Name": "PMU_MID_LIMIT_FREQ", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", + "Values": [ + "1836000" + ], + "DefaultIndex": 0 + }, { "Name": "PMU_MID_LCPI_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", @@ -1002,6 +1010,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1836000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_LCPI_THRESHOLD", @@ -1098,60 +1112,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_POLL", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_SPC_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LIMIT_FREQ", - "Duration": 0, - "Value": "1826000" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "EM_Profile", - "Duration": 0, - "Value": "cam1" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1164,6 +1124,24 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterMaxFreq", + "Duration": 0, + "Value": "1826000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterMaxFreq", + "Duration": 0, + "Value": "1491000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterMaxFreq", + "Duration": 0, + "Value": "1401000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", diff --git a/powerhint-panther.json b/powerhint-panther.json index 4298584..135419d 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -535,6 +535,14 @@ ], "DefaultIndex": 0 }, + { + "Name": "PMU_MID_LIMIT_FREQ", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/limit_frequency", + "Values": [ + "1836000" + ], + "DefaultIndex": 0 + }, { "Name": "PMU_MID_LCPI_THRESHOLD", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/lcpi_threshold", @@ -1024,6 +1032,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1836000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_MID_LCPI_THRESHOLD", @@ -1120,60 +1134,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_POLL", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_LCPI_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_LIT_SPC_THRESHOLD", - "Duration": 0, - "Value": "0" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_MID_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LIMIT_FREQ", - "Duration": 0, - "Value": "1826000" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_LCPI_THRESHOLD", - "Duration": 0, - "Value": "3" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PMU_BIG_SPC_THRESHOLD", - "Duration": 0, - "Value": "50" - }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "EM_Profile", - "Duration": 0, - "Value": "cam1" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", @@ -1186,6 +1146,24 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterMaxFreq", + "Duration": 0, + "Value": "1826000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterMaxFreq", + "Duration": 0, + "Value": "1491000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterMaxFreq", + "Duration": 0, + "Value": "1401000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq",