From 0041bcd5474d806fccfd0b7350e6bcbb349f9c6e Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Thu, 22 Feb 2024 20:58:03 +0000 Subject: [PATCH] Disable CDPreferHighCap, use cam2 for CAMERA_STREAMING_STANDARD Using cam2 will help reduce the framedrops for 120fps, and disabling CDPreferHighCap helps with distributing the tasks to all cores and not just being restricted to middle cores. Test: https://g3doc.corp.google.com/wireless/android/camera/camera_performance_analyzer/power_tuning/results/g3doc/prefer_highcap_midcpus_30fps_120fps/index.md?cl=alikz/932 Test: https://docs.google.com/spreadsheets/d/1sKURR1tq0KJCTycw86BVk3wX2wWQ72HUDKq3rpzSLuc/edit?resourcekey=0-qbawDHe11an1OMQYqhj5Zw#gid=247988314 Test: https://docs.google.com/spreadsheets/d/1zOCS8hnphaNMcR_VoXgB3UkQl42i_r_CDY9Y7lzzZDA/edit?ouid=105033174378721646302 Bug: 322542383 Bug: 322229036 Bug: 311011064 Change-Id: I5bb427be8c1707515ab3ec2cea26bbb8ad338afa --- perf/powerhint-caiman.json | 4 ++-- perf/powerhint-komodo.json | 4 ++-- perf/powerhint-ripcurrent24.json | 2 +- perf/powerhint-ripcurrentpro.json | 4 ++-- perf/powerhint-tokay.json | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 50f1951b..e657851d 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -1898,7 +1898,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", "Duration": 0, - "Value": "cam3" + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1916,7 +1916,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 50f1951b..e657851d 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -1898,7 +1898,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", "Duration": 0, - "Value": "cam3" + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1916,7 +1916,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json index 382cda60..d4a31f20 100644 --- a/perf/powerhint-ripcurrent24.json +++ b/perf/powerhint-ripcurrent24.json @@ -1322,7 +1322,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 0bdc06e5..c98a7d0b 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -1898,7 +1898,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", "Duration": 0, - "Value": "cam3" + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1916,7 +1916,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 50f1951b..e657851d 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -1898,7 +1898,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "EM_Profile", "Duration": 0, - "Value": "cam3" + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", @@ -1916,7 +1916,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CDPreferHighCap", "Duration": 0, - "Value": "1" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_STANDARD",