From 8626e6e6dde5c36afc6058cdf86dc18545c325c7 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Tue, 12 Mar 2024 07:47:57 -0700 Subject: [PATCH] powerhint: port migration margin settings from p23 Bug: 316035859 Test: boot (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:62221287956f6123e6bfe761de37ff1f3cb058c6) Merged-In: I75a13076c9e388cb1628c80035d3f4f7a0905718 Change-Id: I75a13076c9e388cb1628c80035d3f4f7a0905718 --- perf/powerhint-caiman.json | 11 +++++++++-- perf/powerhint-komodo.json | 11 +++++++++-- perf/powerhint-ripcurrentpro.json | 11 +++++++++-- perf/powerhint-tokay.json | 11 +++++++++-- 4 files changed, 36 insertions(+), 8 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 494e4c79..dd76c983 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -217,9 +217,10 @@ "Name": "CPUUtilThreshold", "Path": "/proc/vendor_sched/util_threshold", "Values": [ + "2048 1280 1280", "1280", "1100", - "1100 1024 1100" + "1100 1078 1024" ], "DefaultIndex": 0, "ResetOnInit": true @@ -1859,7 +1860,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", "Duration": 0, - "Value": "1100" + "Value": "1100 1078 1024" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2083,6 +2084,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1280" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 494e4c79..dd76c983 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -217,9 +217,10 @@ "Name": "CPUUtilThreshold", "Path": "/proc/vendor_sched/util_threshold", "Values": [ + "2048 1280 1280", "1280", "1100", - "1100 1024 1100" + "1100 1078 1024" ], "DefaultIndex": 0, "ResetOnInit": true @@ -1859,7 +1860,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", "Duration": 0, - "Value": "1100" + "Value": "1100 1078 1024" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2083,6 +2084,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1280" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 494e4c79..dd76c983 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -217,9 +217,10 @@ "Name": "CPUUtilThreshold", "Path": "/proc/vendor_sched/util_threshold", "Values": [ + "2048 1280 1280", "1280", "1100", - "1100 1024 1100" + "1100 1078 1024" ], "DefaultIndex": 0, "ResetOnInit": true @@ -1859,7 +1860,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", "Duration": 0, - "Value": "1100" + "Value": "1100 1078 1024" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2083,6 +2084,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1280" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 494e4c79..dd76c983 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -217,9 +217,10 @@ "Name": "CPUUtilThreshold", "Path": "/proc/vendor_sched/util_threshold", "Values": [ + "2048 1280 1280", "1280", "1100", - "1100 1024 1100" + "1100 1078 1024" ], "DefaultIndex": 0, "ResetOnInit": true @@ -1859,7 +1860,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", "Duration": 0, - "Value": "1100" + "Value": "1100 1078 1024" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2083,6 +2084,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1280" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CDPreferHighCap",