Merge changes from topic "u-powerhint-1st-frame-boost" into udc-d1-dev

* changes:
  powerhint: Boost GPU(302000) by 1st frame
  powerhint: boost DSU at first frame
  powerhint: Add DSU and BCI configuration
  powerhint: add CPU_LOAD_RESET rule
This commit is contained in:
Wei Wang 2023-04-19 22:02:20 +00:00 committed by Android (Google) Code Review
commit eb993280ac

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",
@ -19,6 +33,28 @@
],
"ResetOnInit": true
},
{
"Name": "DsuFreq",
"Path": "/sys/devices/platform/17000090.devfreq_dsu/devfreq/17000090.devfreq_dsu/min_freq",
"Values": [
"2150000",
"1328000",
"820000",
"324000"
],
"ResetOnInit": true
},
{
"Name": "BCIFreq",
"Path": "/sys/devices/platform/170000a0.devfreq_bci/devfreq/170000a0.devfreq_bci/min_freq",
"Values": [
"1850000",
"1205000",
"840000",
"315000"
],
"ResetOnInit": true
},
{
"Name": "CPULittleClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
@ -86,20 +122,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": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -373,6 +395,24 @@
"Duration": 5000,
"Value": "3172000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
"Duration": 50,
"Value": "302000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",
"Duration": 33,
"Value": "1014000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "DsuFreq",
"Duration": 33,
"Value": "820000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",