[caimito] Enable PA_KILL during PA_KILL_BOOST

Currently, we enable PA_KILL always on camera launch. This CL puts this
feature behind a power boost profile which can only be triggered from
camera hal and is controlled by a mendel flag.

Bug: 350594261
Test: adb logcat
Flag: EXEMPT resource only update
Change-Id: Id227bd35fda97d5b0cbdfe9e4df39eff2e565b7d
This commit is contained in:
Ali K. Zadeh 2024-07-11 18:51:41 +00:00
parent 4346aa77b5
commit fb22d799d6
4 changed files with 4 additions and 72 deletions

View file

@ -579,16 +579,6 @@
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "PowerHALLaunch",
"Path": "vendor.powerhal.is_launch",
"Values": [
"1",
"0"
],
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "BigTjOffset",
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
@ -1130,12 +1120,6 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "PowerHALLaunch",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@ -1423,9 +1407,8 @@
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"PowerHint": "CAMERA_PA_KILL_BOOST",
"Node": "PA_KILL",
"EnableProperty": "vendor.powerhal.is_launch",
"Duration": 0,
"Value": "102400"
},

View file

@ -579,16 +579,6 @@
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "PowerHALLaunch",
"Path": "vendor.powerhal.is_launch",
"Values": [
"1",
"0"
],
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "BigTjOffset",
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
@ -1130,12 +1120,6 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "PowerHALLaunch",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@ -1423,9 +1407,8 @@
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"PowerHint": "CAMERA_PA_KILL_BOOST",
"Node": "PA_KILL",
"EnableProperty": "vendor.powerhal.is_launch",
"Duration": 0,
"Value": "102400"
},

View file

@ -569,16 +569,6 @@
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "PowerHALLaunch",
"Path": "vendor.powerhal.is_launch",
"Values": [
"1",
"0"
],
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "INTCAMFreq",
"Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq",
@ -1056,12 +1046,6 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "PowerHALLaunch",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@ -1343,9 +1327,8 @@
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"PowerHint": "CAMERA_PA_KILL_BOOST",
"Node": "PA_KILL",
"EnableProperty": "vendor.powerhal.is_launch",
"Duration": 0,
"Value": "102400"
},

View file

@ -579,16 +579,6 @@
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "PowerHALLaunch",
"Path": "vendor.powerhal.is_launch",
"Values": [
"1",
"0"
],
"Type": "Property",
"ResetOnInit": true
},
{
"Name": "BigTjOffset",
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
@ -1130,12 +1120,6 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "PowerHALLaunch",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@ -1423,9 +1407,8 @@
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"PowerHint": "CAMERA_PA_KILL_BOOST",
"Node": "PA_KILL",
"EnableProperty": "vendor.powerhal.is_launch",
"Duration": 0,
"Value": "102400"
},