From bd384b86615fa12f705c30c235044c8a6252fae2 Mon Sep 17 00:00:00 2001 From: chungkai Date: Tue, 26 Apr 2022 02:01:02 +0000 Subject: [PATCH 1/2] powerhal: update new boost uclamp value set 160 back to 161 since RT task will select little cores Test: build pass Bug: 230247757 Signed-off-by: chungkai Change-Id: I71b74b647f1b9904f4a6688a07c5e7b3a2841bd9 --- powerhint-oriole.json | 2 +- powerhint-raven.json | 4 ++-- powerhint-slider.json | 4 ++-- powerhint-whitefin.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index 534508f..1186a22 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -155,7 +155,7 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "160", + "161", "85", "39" ], diff --git a/powerhint-raven.json b/powerhint-raven.json index 8aa41e9..38a475e 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -156,7 +156,7 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "160", + "161", "85", "39" ], @@ -451,7 +451,7 @@ "PowerHint": "LAUNCH_120FPS", "Node": "SFUClampBoost", "Duration": 1000, - "Value": "160" + "Value": "161" }, { "PowerHint": "LAUNCH", diff --git a/powerhint-slider.json b/powerhint-slider.json index c7e85f3..9444ccb 100644 --- a/powerhint-slider.json +++ b/powerhint-slider.json @@ -157,7 +157,7 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "160", + "161", "85", "39" ], @@ -416,7 +416,7 @@ "PowerHint": "LAUNCH_120FPS", "Node": "SFUClampBoost", "Duration": 1000, - "Value": "160" + "Value": "161" }, { "PowerHint": "LAUNCH", diff --git a/powerhint-whitefin.json b/powerhint-whitefin.json index 40f42fc..450ad3c 100644 --- a/powerhint-whitefin.json +++ b/powerhint-whitefin.json @@ -157,7 +157,7 @@ "Name": "SFUClampBoost", "Path": "/proc/vendor_sched/sf_uclamp_min", "Values": [ - "160", + "161", "85", "39" ], @@ -407,7 +407,7 @@ "PowerHint": "LAUNCH_120FPS", "Node": "SFUClampBoost", "Duration": 1000, - "Value": "160" + "Value": "161" }, { "PowerHint": "LAUNCH", From cb17433a3df91661b4ce9265009a7d19c5fe3ddd Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Sat, 23 Apr 2022 21:20:56 -0700 Subject: [PATCH 2/2] Boost trusty task priority during UDFPS Bug: 229350721 Test: UDFPS with stress Signed-off-by: Wei Wang Change-Id: Iae2c76409188c388e9ff30c5951bdb3e9118301a --- powerhint-oriole.json | 28 ++++++++++++++++++++++++++++ powerhint-raven.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index 1186a22..61c3b63 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -423,6 +423,22 @@ ], "DefaultIndex": 0 }, + { + "Name": "TRUSTY_VIRTIO_HIGH", + "Path": "/sys/module/trusty_virtio/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, + { + "Name": "TRUSTY_HIGH", + "Path": "/sys/module/trusty_core/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, { "Name": "PMU_POLL", "Path": "/proc/vendor_sched/pmu_poll_enable", @@ -1411,6 +1427,18 @@ "Duration": 1000, "Value": "1" }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_VIRTIO_HIGH", + "Duration": 1000, + "Value": "1" + }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_HIGH", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "PMU_POLL", diff --git a/powerhint-raven.json b/powerhint-raven.json index 38a475e..586e9f7 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -424,6 +424,22 @@ ], "DefaultIndex": 0 }, + { + "Name": "TRUSTY_VIRTIO_HIGH", + "Path": "/sys/module/trusty_virtio/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, + { + "Name": "TRUSTY_HIGH", + "Path": "/sys/module/trusty_core/parameters/use_high_wq", + "Values": [ + "1", + "0" + ] + }, { "Name": "PMU_POLL", "Path": "/proc/vendor_sched/pmu_poll_enable", @@ -1428,6 +1444,18 @@ "Duration": 1000, "Value": "1" }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_VIRTIO_HIGH", + "Duration": 1000, + "Value": "1" + }, + { + "PowerHint": "FP_BOOST", + "Node": "TRUSTY_HIGH", + "Duration": 1000, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "PMU_POLL",