From 9c39373a33066df24b3147d3db809ff5d978ec59 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Wed, 24 Apr 2024 22:38:19 +0000 Subject: [PATCH] Disable CDPreferIdle, set DSUMin to 610MHz for 60fps With MulticamRoutingNode on RT, the performance is no longer impacted by having CDPreferIdle disabled. Additionally, this CL reduces DSUMin to 610MHz, saving overall up to 50mW in CPU power. Test: 1080p60: https://docs.google.com/spreadsheets/d/1KoMO-hFl8t5KxLOWTn9eGSEXJqMVhDh4PRgn94_aTfk/edit?usp=sharing&resourcekey=0-DnXRxfkqmKNE8Cbh664inA Test: 4k60: https://docs.google.com/spreadsheets/d/1PntdXFCyBL4H3kswAoIRota-FGbqSHXRZCQP3opnuj8/edit?usp=sharing&resourcekey=0--wdtPAqsz2XbsHQq67rgeg Bug: 334945465 Bug: 304536786 Change-Id: Ic1d24975c01c65f8495a26ad9b29c97efed85ee1 --- perf/powerhint-caiman.json | 9 ++++++++- perf/powerhint-komodo.json | 9 ++++++++- perf/powerhint-ripcurrentpro.json | 9 ++++++++- perf/powerhint-tokay.json | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 96fc3d46..e3b65023 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -785,6 +785,7 @@ "1800000", "1548000", "820000", + "610000", "0" ], "ResetOnInit": true @@ -1890,7 +1891,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "DsuMinFreq", "Duration": 0, - "Value": "820000" + "Value": "610000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2000,6 +2001,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CDPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "AutoPreferIdle", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index 5083ecfa..d49395a3 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -785,6 +785,7 @@ "1800000", "1548000", "820000", + "610000", "0" ], "ResetOnInit": true @@ -1890,7 +1891,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "DsuMinFreq", "Duration": 0, - "Value": "820000" + "Value": "610000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2000,6 +2001,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CDPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "AutoPreferIdle", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index d2984619..8df70091 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -53,6 +53,7 @@ "1800000", "1548000", "820000", + "610000", "0" ], "ResetOnInit": true @@ -1879,7 +1880,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "DsuMinFreq", "Duration": 0, - "Value": "820000" + "Value": "610000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1989,6 +1990,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CDPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "AutoPreferIdle", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 96fc3d46..73d5d51a 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -785,6 +785,7 @@ "1800000", "1548000", "820000", + "610000", "0" ], "ResetOnInit": true @@ -1890,7 +1891,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "DsuMinFreq", "Duration": 0, - "Value": "820000" + "Value": "610000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -2000,6 +2001,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CDPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "AutoPreferIdle",