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: Ibcb5bb80a162d562616b7294450761c0a643a4ef
This commit is contained in:
Jimmy Shiu 2023-03-07 01:22:41 +08:00
parent 2b2cfc9f3f
commit c2a00aea13
3 changed files with 60 additions and 42 deletions

View file

@ -1,5 +1,19 @@
{
"Nodes": [
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "MemFreq",
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
@ -135,20 +149,6 @@
],
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "ReducePreferIdle",
"Path": "/proc/vendor_sched/reduce_prefer_idle",
@ -747,6 +747,12 @@
"Duration": 3000,
"Value": "0"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",

View file

@ -1,5 +1,19 @@
{
"Nodes": [
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "MemFreq",
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
@ -125,20 +139,6 @@
],
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "ReducePreferIdle",
"Path": "/proc/vendor_sched/reduce_prefer_idle",
@ -737,6 +737,12 @@
"Duration": 3000,
"Value": "0"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",

View file

@ -1,5 +1,19 @@
{
"Nodes": [
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "MemFreq",
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
@ -125,20 +139,6 @@
],
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1f000000.mali/hint_min_freq",
"Values": [
"649000",
"580000",
"521000",
"467000",
"376000",
"302000",
"150000"
],
"ResetOnInit": true
},
{
"Name": "ReducePreferIdle",
"Path": "/proc/vendor_sched/reduce_prefer_idle",
@ -737,6 +737,12 @@
"Duration": 3000,
"Value": "0"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",