Disable packing when app launch

Task packing may hurt app launch time, so disable it when app launch.

Bug: 201259891
Test: hint works
Change-Id: I1b89a989064b2e824215102aee0fcdb9617d27b5
This commit is contained in:
Rick Yiu 2022-05-03 18:23:22 +08:00
parent a40ecf1a8d
commit 0e74fe1a46

View file

@ -268,6 +268,15 @@
],
"ResetOnInit": true
},
{
"Name": "NPITaskPacking",
"Path": "/proc/vendor_sched/npi_packing",
"Values": [
"0",
"1"
],
"ResetOnInit": true
},
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@ -502,6 +511,12 @@
"Duration": 5000,
"Value": "always_on"
},
{
"PowerHint": "LAUNCH",
"Node": "NPITaskPacking",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "F2fsRecessModeEnable",
@ -556,6 +571,12 @@
"Duration": 1000,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking",
"Duration": 1000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@ -574,6 +595,12 @@
"Duration": 2000,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "NPITaskPacking",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",