diff --git a/audio/caiman/aidl_config/mixer_paths_aidl.xml b/audio/caiman/aidl_config/mixer_paths_aidl.xml
index c8adc9fc..889fec3c 100644
--- a/audio/caiman/aidl_config/mixer_paths_aidl.xml
+++ b/audio/caiman/aidl_config/mixer_paths_aidl.xml
@@ -1298,10 +1298,10 @@
-
+
@@ -1310,17 +1310,17 @@
-
+
-
-
+
diff --git a/audio/komodo/aidl_config/mixer_paths_aidl.xml b/audio/komodo/aidl_config/mixer_paths_aidl.xml
index c8adc9fc..889fec3c 100644
--- a/audio/komodo/aidl_config/mixer_paths_aidl.xml
+++ b/audio/komodo/aidl_config/mixer_paths_aidl.xml
@@ -1298,10 +1298,10 @@
-
+
@@ -1310,17 +1310,17 @@
-
+
-
-
+
diff --git a/audio/tokay/aidl_config/mixer_paths_aidl.xml b/audio/tokay/aidl_config/mixer_paths_aidl.xml
index c8adc9fc..889fec3c 100644
--- a/audio/tokay/aidl_config/mixer_paths_aidl.xml
+++ b/audio/tokay/aidl_config/mixer_paths_aidl.xml
@@ -1298,10 +1298,10 @@
-
+
@@ -1310,17 +1310,17 @@
-
+
-
-
+
diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc
index d33ed77c..c7b3fbac 100644
--- a/conf/init.caiman.rc
+++ b/conf/init.caiman.rc
@@ -62,9 +62,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
# ODPM
on early-boot && property:ro.boot.hardware.sku=GEC77
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=GWVK6
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc
index 9a0c987f..c7c9e96f 100644
--- a/conf/init.komodo.rc
+++ b/conf/init.komodo.rc
@@ -66,9 +66,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
# ODPM
on early-boot && property:ro.boot.hardware.sku=GZC4K
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=GQ57S
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc
index cbab4af2..2dff8862 100644
--- a/conf/init.tokay.rc
+++ b/conf/init.tokay.rc
@@ -58,9 +58,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
# ODPM
on early-boot && property:ro.boot.hardware.sku=GUR25
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=G1B60
- write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
+ write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S"
# Start the twoshay touch service
on property:sys.boot_completed=1
diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json
index 9be8c16a..b6e8efa1 100644
--- a/perf/powerhint-caiman.json
+++ b/perf/powerhint-caiman.json
@@ -214,6 +214,16 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "AutoPreferIdle",
+ "Path": "/proc/vendor_sched/auto_prefer_idle",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@@ -859,6 +869,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_GPU",
"Node": "GPUDvfsPeriod",
@@ -1072,6 +1088,12 @@
"Duration": 2000,
"Value": "1"
},
+ {
+ "PowerHint": "LAUNCH_EXTEND",
+ "Node": "AutoPreferIdle",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@@ -1084,6 +1106,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_CHANGE",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
@@ -1244,6 +1272,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_INACTIVE",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "FGPreferIdle",
@@ -1334,6 +1368,12 @@
"Duration": 1000,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
@@ -1478,6 +1518,12 @@
"Duration": 100,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_ZOOMING_BOOST",
+ "Node": "AutoPreferIdle",
+ "Duration": 100,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL",
@@ -1784,6 +1830,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
@@ -1940,6 +1992,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
@@ -1988,6 +2046,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -2138,6 +2202,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
@@ -2252,6 +2322,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferIdle",
@@ -2823,6 +2899,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "GAME",
"Node": "FGPreferIdle",
diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json
index 9f09f1fc..a1cf10db 100644
--- a/perf/powerhint-komodo.json
+++ b/perf/powerhint-komodo.json
@@ -214,6 +214,16 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "AutoPreferIdle",
+ "Path": "/proc/vendor_sched/auto_prefer_idle",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@@ -859,6 +869,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_GPU",
"Node": "GPUDvfsPeriod",
@@ -1072,6 +1088,12 @@
"Duration": 2000,
"Value": "1"
},
+ {
+ "PowerHint": "LAUNCH_EXTEND",
+ "Node": "AutoPreferIdle",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@@ -1084,6 +1106,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_CHANGE",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
@@ -1244,6 +1272,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_INACTIVE",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "FGPreferIdle",
@@ -1334,6 +1368,12 @@
"Duration": 1000,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
@@ -1478,6 +1518,12 @@
"Duration": 100,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_ZOOMING_BOOST",
+ "Node": "AutoPreferIdle",
+ "Duration": 100,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL",
@@ -1784,6 +1830,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
@@ -1940,6 +1992,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
@@ -1988,6 +2046,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -2138,6 +2202,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
@@ -2252,6 +2322,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferIdle",
@@ -2823,6 +2899,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "GAME",
"Node": "FGPreferIdle",
diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json
index ab4e4e88..b64bd7d2 100644
--- a/perf/powerhint-ripcurrentpro.json
+++ b/perf/powerhint-ripcurrentpro.json
@@ -214,6 +214,16 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "AutoPreferIdle",
+ "Path": "/proc/vendor_sched/auto_prefer_idle",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@@ -848,6 +858,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_GPU",
"Node": "GPUDvfsPeriod",
@@ -1061,6 +1077,12 @@
"Duration": 2000,
"Value": "1"
},
+ {
+ "PowerHint": "LAUNCH_EXTEND",
+ "Node": "AutoPreferIdle",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@@ -1073,6 +1095,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_CHANGE",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
@@ -1233,6 +1261,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_INACTIVE",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "FGPreferIdle",
@@ -1323,6 +1357,12 @@
"Duration": 1000,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
@@ -1467,6 +1507,12 @@
"Duration": 100,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_ZOOMING_BOOST",
+ "Node": "AutoPreferIdle",
+ "Duration": 100,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL",
@@ -1773,6 +1819,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
@@ -1929,6 +1981,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
@@ -1977,6 +2035,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -2127,6 +2191,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
@@ -2241,6 +2311,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferIdle",
@@ -2692,6 +2768,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "GAME",
"Node": "FGPreferIdle",
diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json
index 9be8c16a..b6e8efa1 100644
--- a/perf/powerhint-tokay.json
+++ b/perf/powerhint-tokay.json
@@ -214,6 +214,16 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "AutoPreferIdle",
+ "Path": "/proc/vendor_sched/auto_prefer_idle",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@@ -859,6 +869,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_GPU",
"Node": "GPUDvfsPeriod",
@@ -1072,6 +1088,12 @@
"Duration": 2000,
"Value": "1"
},
+ {
+ "PowerHint": "LAUNCH_EXTEND",
+ "Node": "AutoPreferIdle",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@@ -1084,6 +1106,12 @@
"Duration": 5000,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_CHANGE",
+ "Node": "AutoPreferIdle",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
@@ -1244,6 +1272,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "DISPLAY_INACTIVE",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "FGPreferIdle",
@@ -1334,6 +1368,12 @@
"Duration": 1000,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "AutoPreferIdle",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
@@ -1478,6 +1518,12 @@
"Duration": 100,
"Value": "1"
},
+ {
+ "PowerHint": "CAMERA_ZOOMING_BOOST",
+ "Node": "AutoPreferIdle",
+ "Duration": 100,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL",
@@ -1784,6 +1830,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_EXTREME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
@@ -1940,6 +1992,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
@@ -1988,6 +2046,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_STANDARD",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -2138,6 +2202,12 @@
"Duration": 0,
"Value": "0x80"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_LOW",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
@@ -2252,6 +2322,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferIdle",
@@ -2823,6 +2899,12 @@
"Duration": 0,
"Value": "0"
},
+ {
+ "PowerHint": "GAME",
+ "Node": "AutoPreferIdle",
+ "Duration": 0,
+ "Value": "0"
+ },
{
"PowerHint": "GAME",
"Node": "FGPreferIdle",