diff options
author | Yvonne Yip <ykyyip@google.com> | 2023-08-17 12:05:43 -0700 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-12-07 18:45:56 +0000 |
commit | cb784ede3161338c943785621f07ab37b118b606 (patch) | |
tree | b7f38e7a6440ef2266f5d902fe47fc0fc25e665e | |
parent | 2280e6ea3db5e414f1ace9734d3066d9b3eb4654 (diff) | |
download | pantah-cb784ede3161338c943785621f07ab37b118b606.tar.gz |
powerhint: add game mode tuning nodes
Add down_rate_limit_us nodes, tapered_dvfs_headroom nodes.
Test: build
Bug: 295636226
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed55bd67b0a7cdb1521f4df70b7c854246aa4492)
Merged-In: I826da5058916abb1e676774ef19fe05710588392
Change-Id: I826da5058916abb1e676774ef19fe05710588392
-rw-r--r-- | powerhint-cheetah-a0.json | 40 | ||||
-rw-r--r-- | powerhint-cheetah.json | 40 | ||||
-rw-r--r-- | powerhint-cloudripper.json | 40 | ||||
-rw-r--r-- | powerhint-panther-a0.json | 40 | ||||
-rw-r--r-- | powerhint-panther.json | 40 | ||||
-rw-r--r-- | powerhint-ravenclaw.json | 40 |
6 files changed, 240 insertions, 0 deletions
diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 411c7fb..c73d20a 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -49,6 +49,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -81,6 +91,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -115,6 +135,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ @@ -148,6 +178,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 4d6c413..45b0b7d 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -62,6 +62,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -94,6 +104,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -128,6 +148,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "GPUDvfsPeriod", "Path": "/sys/devices/platform/28000000.mali/dvfs_period", "Values": [ @@ -166,6 +196,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ diff --git a/powerhint-cloudripper.json b/powerhint-cloudripper.json index 3ac19d4..c985b53 100644 --- a/powerhint-cloudripper.json +++ b/powerhint-cloudripper.json @@ -42,6 +42,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -65,6 +75,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -87,6 +107,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ @@ -120,6 +150,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index d965a04..2848382 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -48,6 +48,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -76,6 +86,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -104,6 +124,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ @@ -137,6 +167,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ diff --git a/powerhint-panther.json b/powerhint-panther.json index 46b5ff9..0a4bce9 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -61,6 +61,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -89,6 +99,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -117,6 +137,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "ReducePreferIdle", "Path": "/proc/vendor_sched/reduce_prefer_idle", "Values": [ @@ -146,6 +176,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ diff --git a/powerhint-ravenclaw.json b/powerhint-ravenclaw.json index 0eefcf6..06f5377 100644 --- a/powerhint-ravenclaw.json +++ b/powerhint-ravenclaw.json @@ -42,6 +42,16 @@ "ResetOnInit": true }, { + "Name": "CPULittleClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "5000", + "500" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUMidClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ @@ -65,6 +75,16 @@ "ResetOnInit": true }, { + "Name": "CPUMidClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "CPUBigClusterMaxFreq", "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ @@ -87,6 +107,16 @@ "ResetOnInit": true }, { + "Name": "CPUBigClusterDownRateLimitUs", + "Path": "/sys/devices/system/cpu/cpu6/cpufreq/sched_pixel/down_rate_limit_us", + "Values": [ + "20000", + "3000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/28000000.mali/hint_min_freq", "Values": [ @@ -120,6 +150,16 @@ "ResetOnInit": true }, { + "Name": "CPUTaperedDVFSHeadroomEnable", + "Path": "/proc/vendor_sched/tapered_dvfs_headroom_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { "Name": "MIFTargetLoad", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ |