From 1400a33ff82e969d4e3ebee695dddf395b2d9059 Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Wed, 10 Apr 2024 06:34:13 +0000 Subject: [PATCH] Thermal Boost for severe thermal state Refer to ag/26566748 Bug: 333649807 Test: Build pass Change-Id: I1255d9f4525fc8e28e7d414d5b4ed42d1b96a937 --- powerhint-comet.json | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 100bc21..df1b857 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -291,6 +291,7 @@ "Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Values": [ "765", + "250", "0" ], "ResetOnInit": true @@ -358,9 +359,10 @@ "0-3", "4-7", "4-6", - "0-6", - "0-7" + "0-7", + "0-6" ], + "DefaultIndex": 3, "ResetOnInit": true }, { @@ -1257,6 +1259,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",