From e3a4e768b559d5bd674910fba92b00a572c33a03 Mon Sep 17 00:00:00 2001 From: Mao Lee Date: Mon, 8 Jan 2024 11:00:33 +0000 Subject: [PATCH] powerhint: raise cam.uclamp_min to 250 during CAMERA_STREAMING_EXTREME Increase the minimum operating frequency of the cam group to mitigate mutex contention and thereby reduce frame drops during 240fps slow-motion recording. Test: GCA, CTS Bug: 315422971 Change-Id: Ibc24cc5fb96eb4b83de932d2805763799e185dc8 --- powerhint-akita.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/powerhint-akita.json b/powerhint-akita.json index 7b9e4ac..2f891c7 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -300,6 +300,7 @@ "Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Values": [ "765", + "250", "0" ], "ResetOnInit": true @@ -1514,6 +1515,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CAMUClampBoost", + "Duration": 0, + "Value": "250" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "PMU_LIT_LIMIT_FREQ",