powerhint: Boost GPU(302000) by 1st frame

Use CPU_LOAD_RESET hint to boost the GPU freq to 302000

Bug: 243025173
Test: Manual
Change-Id: I519297e55aa8efd84d408a81d6cd1d2bea76df3c
This commit is contained in:
Jimmy Shiu 2023-04-12 20:14:56 +08:00 committed by Wei Wang
parent a904c56d0c
commit 8e5eab0390
2 changed files with 38 additions and 38 deletions

View file

@ -1,5 +1,18 @@
{
"Nodes": [
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/28000000.mali/hint_min_freq",
"Values": [
"848000",
"762000",
"572000",
"471000",
"302000",
"202000"
],
"ResetOnInit": true
},
{
"Name": "MemFreq",
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
@ -114,19 +127,6 @@
],
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/28000000.mali/hint_min_freq",
"Values": [
"848000",
"762000",
"572000",
"471000",
"302000",
"202000"
],
"ResetOnInit": true
},
{
"Name": "GPUDvfsPeriod",
"Path": "/sys/devices/platform/28000000.mali/dvfs_period",
@ -776,6 +776,12 @@
"Duration": 3000,
"Value": "0"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",
@ -1863,12 +1869,6 @@
"Duration": 0,
"Value": "572000"
},
{
"PowerHint": "ADPF_FIRST_FRAME",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",

View file

@ -1,5 +1,18 @@
{
"Nodes": [
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/28000000.mali/hint_min_freq",
"Values": [
"848000",
"762000",
"572000",
"471000",
"302000",
"202000"
],
"ResetOnInit": true
},
{
"Name": "MemFreq",
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
@ -103,19 +116,6 @@
],
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/28000000.mali/hint_min_freq",
"Values": [
"848000",
"762000",
"572000",
"471000",
"302000",
"202000"
],
"ResetOnInit": true
},
{
"Name": "ReducePreferIdle",
"Path": "/proc/vendor_sched/reduce_prefer_idle",
@ -745,6 +745,12 @@
"Duration": 3000,
"Value": "0"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",
@ -1730,12 +1736,6 @@
"Duration": 0,
"Value": "572000"
},
{
"PowerHint": "ADPF_FIRST_FRAME",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",