From cc8c9de464205cf2ce13f95b196e92672b540a16 Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Fri, 24 May 2024 03:31:05 +0000 Subject: [PATCH] Thermal Boost for severe thermal state Refer to ag/26566748 and ag/26898080 Bug: 342502377 Test: Build pass Change-Id: Icc5c6eb7963e7e9a26140738e068d556ca008bb9 --- perf/powerhint-tegu.json | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index a120460..0589632 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -292,6 +292,7 @@ "Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Values": [ "765", + "250", "0" ], "ResetOnInit": true @@ -359,9 +360,10 @@ "0-3", "4-7", "4-6", - "0-6", - "0-7" + "0-7", + "0-6" ], + "DefaultIndex": 3, "ResetOnInit": true }, { @@ -1383,6 +1385,30 @@ "Duration": 3000, "Value": "0" }, + { + "PowerHint": "CAMERA_THERMAL_SEVERE_BOOST", + "Node": "CDPreferHighCap", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "CAMERA_THERMAL_SEVERE_BOOST", + "Node": "CAMUClampBoost", + "Duration": 0, + "Value": "250" + }, + { + "PowerHint": "CAMERA_THERMAL_SEVERE_BOOST", + "Node": "CPUSkipMask", + "Duration": 0, + "Value": "0x0" + }, + { + "PowerHint": "CAMERA_THERMAL_SEVERE_BOOST", + "Node": "CDCpuset", + "Duration": 0, + "Value": "0-7" + }, { "PowerHint": "CAMERA_SHOT", "Node": "PMU_POLL",