Merge "powerhint: decrease down_rate_limit_us when DISPLAY_INACTIVE" into udc-d1-dev

This commit is contained in:
Wei Wang 2023-05-24 18:53:57 +00:00 committed by Android (Google) Code Review
commit 16be2a352d
2 changed files with 88 additions and 0 deletions

View file

@ -96,6 +96,7 @@
"Name": "CPULittleClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"5000"
],
@ -137,6 +138,7 @@
"Name": "CPUMidClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"20000"
],
@ -180,6 +182,7 @@
"Name": "CPUBigClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"20000"
],
@ -850,6 +853,29 @@
"Duration": 33,
"Value": "820000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
@ -2075,6 +2101,24 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "DisplayWakeup",

View file

@ -96,6 +96,7 @@
"Name": "CPULittleClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"5000"
],
@ -133,6 +134,7 @@
"Name": "CPUMidClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"20000"
],
@ -170,6 +172,7 @@
"Name": "CPUBigClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"500",
"2000",
"20000"
],
@ -840,6 +843,29 @@
"Duration": 33,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "BigClusterPowerDownTargetResidency",
@ -1963,6 +1989,24 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "DisplayWakeup",