From bf408833ab6981f15544c1cca7d912ad2d62180f Mon Sep 17 00:00:00 2001 From: lukechang Date: Fri, 19 May 2023 04:50:03 +0000 Subject: [PATCH] powerhint: shorter cpd cl2 target_residency Shorter cpd cl2 target residency to 10ms when receiving DISPLAY_INACTIVE hint. Test: manual - check cpd cl2 target_residency file node when screen on and off Bug: 277390134 Change-Id: I7ad6c6bdf48ab40edfafc6cf9370b5686f956917 Signed-off-by: lukechang --- powerhint-akita.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/powerhint-akita.json b/powerhint-akita.json index 5036659..8f19c38 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -167,6 +167,16 @@ ], "ResetOnInit": true }, + { + "Name": "BigClusterPowerDownTargetResidency", + "Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency", + "Values": [ + "750000", + "10000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CPUUtilThreshold", "Path": "/proc/vendor_sched/util_threshold", @@ -656,6 +666,12 @@ "Duration": 33, "Value": "9999999" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "BigClusterPowerDownTargetResidency", + "Duration": 0, + "Value": "10000" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "MemFreq",