From ddc2a9111b40a38279f35df2b9aa34116ff7e1cb Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Thu, 22 Aug 2024 04:28:05 +0000 Subject: [PATCH] Reduce TNR frequency to 111MHz for slow-mo 240fps Due to slow-mo 240fps does not enable GTNR, set the lower TNR frequency 111MHz for it to optimize power. Bug: 349707814 Test: Build pass, Boot to home Test: It will save ~15mW without frame drop impact for 240fps. (https://docs.google.com/spreadsheets/d/18w2N4SGCjcD4ZF-1hzv9ZfysCTzLxOeacmLpdcPx5qU/edit?usp=sharing) Flag: EXEMPT resource file change only Change-Id: Ib25707a4ba0132cf6cc1f4956c7f86278e3d5bbc --- perf/powerhint-tegu.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index b604972..ce37d67 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -672,6 +672,7 @@ "Values": [ "664000", "233000", + "111000", "67000" ], "ResetOnInit": true @@ -2136,6 +2137,18 @@ "Duration": 0, "Value": "0x0" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "TNRMaxFreq", + "Duration": 0, + "Value": "111000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "TNRFreq", + "Duration": 0, + "Value": "111000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning",