From 9eb76e0f2014dd3e92c037240c3e8dfdeb73b98a Mon Sep 17 00:00:00 2001 From: Speth Chang Date: Wed, 23 Mar 2022 17:46:22 +0800 Subject: [PATCH] WAR: set MIF floor to 2G when GCA capture Due to b/214429812, QURGENT currently is not working properly, and cause easily see EBUF full when capture on GCA. Temporary increase MIF clock to mitigate memory interface congestion. We should revert this when b/214429812 fixed. Bug: 223734867 Test: P22 GCA capture Change-Id: I0cc16d5bd83cb23462147c44547077665bc1dc73 --- powerhint-cheetah.json | 7 +++++++ powerhint-panther.json | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index c5ad0a0..dd7a273 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "2028000", "1014000", "421000" ], @@ -554,6 +555,12 @@ "Duration": 1000, "Value": "1401000" }, + { + "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", + "Node": "MemFreq", + "Duration": 1000, + "Value": "2028000" + }, { "PowerHint": "CAMERA_SHOT", "Node": "MemFreq", diff --git a/powerhint-panther.json b/powerhint-panther.json index d2711f0..736e235 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "2028000", "1014000", "421000" ], @@ -542,6 +543,12 @@ "Duration": 1000, "Value": "1401000" }, + { + "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", + "Node": "MemFreq", + "Duration": 1000, + "Value": "2028000" + }, { "PowerHint": "CAMERA_SHOT", "Node": "MemFreq",