Snap for 11889377 from a780b504b1 to 25D4-release

Change-Id: I13a9e47bb540f021a1e1d0a5c7da19115430a517
This commit is contained in:
Android Build Coastguard Worker 2024-05-25 03:03:28 +00:00
commit 0f26cec09d
3 changed files with 127 additions and 109 deletions

View file

@ -8,6 +8,12 @@ on init
# eSE streset tool name # eSE streset tool name
setprop persist.vendor.se.streset libstreset24 setprop persist.vendor.se.streset libstreset24
# Permissions for display
on fs
# Permission for SSC mode enable
chown system system /sys/class/backlight/panel0-backlight/ssc_en
chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
on early-boot on early-boot
# Wait for insmod_sh to finish all common modules # Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1 wait_for_prop vendor.common.modules.ready 1

View file

@ -29,6 +29,7 @@
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1539000",
"1352000", "1352000",
"1014000", "1014000",
"0" "0"
@ -52,6 +53,7 @@
"1800000", "1800000",
"1548000", "1548000",
"820000", "820000",
"610000",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -256,6 +258,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -281,6 +293,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "765",
"250",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -290,6 +303,7 @@
"Path": "/proc/vendor_sched/groups/ta/uclamp_min", "Path": "/proc/vendor_sched/groups/ta/uclamp_min",
"Values": [ "Values": [
"765", "765",
"600",
"1" "1"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -348,9 +362,10 @@
"0-3", "0-3",
"4-7", "4-7",
"4-6", "4-6",
"0-6", "0-7",
"0-7" "0-6"
], ],
"DefaultIndex": 3,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -662,10 +677,11 @@
"Name": "PMU_LIT_LIMIT_FREQ", "Name": "PMU_LIT_LIMIT_FREQ",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency",
"Values": [ "Values": [
"1425000",
"1328000", "1328000",
"1098000" "1098000"
], ],
"DefaultIndex": 0, "DefaultIndex": 1,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -673,6 +689,8 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"40",
"55",
"42", "42",
"35", "35",
"30", "30",
@ -686,6 +704,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/limit_frequency", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/limit_frequency",
"Values": [ "Values": [
"1795000", "1795000",
"1549000",
"1328000" "1328000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -696,6 +715,8 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold",
"Values": [ "Values": [
"50", "50",
"32",
"15",
"30", "30",
"20", "20",
"18" "18"
@ -708,7 +729,7 @@
"Values": [ "Values": [
"2363000", "2363000",
"1885000", "1885000",
"1298000" "1164000"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -717,8 +738,8 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold",
"Values": [ "Values": [
"50", "50",
"22", "20",
"20" "22"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1350,27 +1371,69 @@
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq", "Node": "PMU_LIT_LIMIT_FREQ",
"Duration": 3000,
"Value": "1885000"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3000,
"Value": "1549000"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1425000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_POLL", "Node": "PMU_MID_LIMIT_FREQ",
"Duration": 3000, "Duration": 3000,
"Value": "0" "Value": "1549000"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 3000,
"Value": "1885000"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 3000,
"Value": "40"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 3000,
"Value": "15"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 3000,
"Value": "20"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "TAUClampBoost",
"Duration": 3000,
"Value": "600"
},
{
"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", "PowerHint": "CAMERA_SHOT",
@ -1652,7 +1715,7 @@
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1298000" "Value": "1164000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
@ -1754,7 +1817,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "DsuMinFreq", "Node": "DsuMinFreq",
"Duration": 0, "Duration": 0,
"Value": "820000" "Value": "610000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1766,7 +1829,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "35" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1778,13 +1841,13 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "20" "Value": "32"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1298000" "Value": "1164000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1828,12 +1891,6 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
@ -1844,7 +1901,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MemFreq", "Node": "MemFreq",
"Duration": 0, "Duration": 0,
"Value": "1352000" "Value": "1539000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1858,6 +1915,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus", "Node": "CDHighCpusetCpus",
@ -1876,6 +1939,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-6" "Value": "4-6"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDCpuset",
"Duration": 0,
"Value": "0-6"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "VIRTUAL-SKIN-CPU-MID", "Node": "VIRTUAL-SKIN-CPU-MID",
@ -1894,6 +1963,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -1910,7 +1985,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1922,13 +1997,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "18" "Value": "30"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1298000" "Value": "1164000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1974,13 +2049,13 @@
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDPreferIdle", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferIdle",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
@ -2012,7 +2087,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDCpuset", "Node": "CDCpuset",
"Duration": 0, "Duration": 0,
"Value": "0-7" "Value": "0-6"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2026,6 +2101,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",
@ -2823,7 +2904,7 @@
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1885000" "Value": "1164000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",

View file

@ -89,51 +89,12 @@
"Name":"battery_cycle", "Name":"battery_cycle",
"Type":"BCL_VOLTAGE" "Type":"BCL_VOLTAGE"
}, },
{
"Name":"critical-battery-cell",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true
},
{
"Name":"FLASH_LED_REDUCE",
"Type":"UNKNOWN",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true,
"SendPowerHint":true
},
{ {
"Name":"soc", "Name":"soc",
"Type":"BCL_PERCENTAGE", "Type":"BCL_PERCENTAGE",
"HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"], "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
"Multiplier":1 "Multiplier":1
}, },
{
"Name":"batoilo",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{ {
"Name":"BCL_AUDIO_BAACL", "Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE", "Type":"BCL_VOLTAGE",
@ -148,36 +109,6 @@
"Multiplier":1, "Multiplier":1,
"SendCallback":true "SendCallback":true
}, },
{
"Name":"vdroop1",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"vdroop2",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"smpl_gm",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{ {
"Name":"VIRTUAL-BTS-WINDOW-PARTIAL", "Name":"VIRTUAL-BTS-WINDOW-PARTIAL",
"Type":"UNKNOWN", "Type":"UNKNOWN",