From 801a67005d33cffbf7344f148b86756e5e10cdb0 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Mon, 8 Aug 2022 21:20:29 -0700 Subject: [PATCH] Tune GPU dvfs period during app launch Instead of using hard-coded GPU freq, tune DVFS period instead. Test: Boot Bug: 239887528 Signed-off-by: Wei Wang Change-Id: I53415fb5c5390adace99b593495c6388b3232cd0 --- powerhint-cheetah.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 5a84ba8..646c108 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -123,6 +123,15 @@ ], "ResetOnInit": true }, + { + "Name": "GPUDvfsPeriod", + "Path": "/sys/devices/platform/28000000.mali/dvfs_period", + "Values": [ + "10", + "20" + ], + "ResetOnInit": true + }, { "Name": "UClampThreshold", "Path": "/proc/vendor_sched/uclamp_threshold", @@ -549,9 +558,9 @@ }, { "PowerHint": "LAUNCH_GPU", - "Node": "GPUMinFreq", + "Node": "GPUDvfsPeriod", "Duration": 1000, - "Value": "848000" + "Value": "10" }, { "PowerHint": "LAUNCH_120FPS",