From fc7b944e0410c028082f9a2dc76479f932fdf54a Mon Sep 17 00:00:00 2001 From: Vivekachooz Date: Thu, 18 Jul 2024 20:16:00 +0530 Subject: [PATCH] sm6375-common: powerhint: Enable CPUDDRLat boost Change-Id: I5ed88740f92064cf5e7cdcdfb19e1b77eb891a35 --- configs/powerhint.json | 88 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/configs/powerhint.json b/configs/powerhint.json index d714eee..a3b8073 100644 --- a/configs/powerhint.json +++ b/configs/powerhint.json @@ -251,6 +251,46 @@ ], "ResetOnInit": true }, + { + "Name": "CPUDDRLatLittleMinFreq", + "Path": "/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-lat/min_freq", + "Values": [ + "7980", + "3879", + "762" + ], + "ResetOnInit": true + }, + { + "Name": "CPUDDRLatBigMinFreq", + "Path": "/sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-lat/min_freq", + "Values": [ + "7980", + "3879", + "762" + ], + "ResetOnInit": true + }, + { + "Name": "CPUDDRLatfloorLittleMinFreq", + "Path": "/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq", + "Values": [ + "7980", + "3879", + "762" + ], + "ResetOnInit": true + }, + { + "Name": "CPUDDRLatfloorBigMinFreq", + "Path": "/sys/class/devfreq/soc:qcom,cpu6-cpu-ddr-latfloor/min_freq", + "Values": [ + "7980", + "3879", + "762" + ], + "ResetOnInit": true + }, { "Name": "PowerHALMainState", "Path": "vendor.powerhal.state", @@ -373,6 +413,30 @@ "Duration": 0, "Value": "7980" }, + { + "PowerHint": "INTERACTION", + "Node": "CPUDDRLatLittleMinFreq", + "Duration": 0, + "Value": "7980" + }, + { + "PowerHint": "INTERACTION", + "Node": "CPUDDRLatBigMinFreq", + "Duration": 0, + "Value": "7980" + }, + { + "PowerHint": "INTERACTION", + "Node": "CPUDDRLatfloorLittleMinFreq", + "Duration": 0, + "Value": "7980" + }, + { + "PowerHint": "INTERACTION", + "Node": "CPUDDRLatfloorBigMinFreq", + "Duration": 0, + "Value": "7980" + }, { "PowerHint": "INTERACTIVE", "Node": "SchedBusyHystNs", @@ -439,6 +503,30 @@ "Duration": 5000, "Value": "7980" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUDDRLatLittleMinFreq", + "Duration": 5000, + "Value": "7980" + }, + { + "PowerHint": "LAUNCH", + "Node": "CPUDDRLatBigMinFreq", + "Duration": 5000, + "Value": "7980" + }, + { + "PowerHint": "LAUNCH", + "Node": "CPUDDRLatfloorLittleMinFreq", + "Duration": 5000, + "Value": "7980" + }, + { + "PowerHint": "LAUNCH", + "Node": "CPUDDRLatfloorBigMinFreq", + "Duration": 5000, + "Value": "7980" + }, { "PowerHint": "LAUNCH", "Node": "GPUForceClkOn",