From 0d7de12563cb9002db41773be22e6cf9c3f18639 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Fri, 2 Sep 2022 00:19:02 +0000 Subject: [PATCH] Increase MIF frequency for 30fps (C10, P10), and 60fps (P10) This CL increases MIF frequency for C10, P10 device in 30fps mode in order to improve CPI, as well as P10 in 60fps mode (C10 for 60FPS was previously addressed in ag/19263388). Although the MIF power consumption increases due to this change, but the reduction in CPU cycles results in over-all SoC power saving. This change also doesn't negatively impact framedrop rate. Bug: 239240751 Test: ODPM and framedrop tests Change-Id: I0454e25bd8687b6378016f14990935ff03e7a38b --- powerhint-cheetah-a0.json | 3 ++- powerhint-cheetah.json | 3 ++- powerhint-panther-a0.json | 5 +++-- powerhint-panther.json | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index efda015..3c3d33c 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -6,6 +6,7 @@ "Values": [ "3172000", "1539000", + "1352000", "1014000", "421000" ], @@ -1253,7 +1254,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 6ae6c38..5dcd53c 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -6,6 +6,7 @@ "Values": [ "3172000", "1539000", + "1352000", "1014000", "421000" ], @@ -1295,7 +1296,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 93378a4..d9bbf4e 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "1352000", "1014000", "421000" ], @@ -1062,7 +1063,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1140,7 +1141,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", diff --git a/powerhint-panther.json b/powerhint-panther.json index c378c75..ba8a191 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", + "1352000", "1014000", "421000" ], @@ -1084,7 +1085,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_HIGH", @@ -1162,7 +1163,7 @@ "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1352000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD",