sm6250-common: powerhint: disable UFS gating work in touch and app launch boost

Disable UFS gating work to boost app launch and touch behaviors.

Before (launch time):
com.google.android.calculator, 507
com.google.android.deskclock, 457
com.google.android.apps.maps, 839
com.google.android.apps.messaging, 624
com.google.android.dialer, 599
com.google.android.apps.photos, 224
com.google.android.youtube, 1016
com.google.android.apps.nbu.files, 618
com.google.android.contacts, 532
com.google.android.gm, 589
com.google.android.GoogleCamera, 674

After (launch time):
com.google.android.calculator, 479
com.google.android.deskclock, 423
com.google.android.apps.maps, 769
com.google.android.apps.messaging, 562
com.google.android.dialer, 553
com.google.android.apps.photos, 177
com.google.android.youtube, 968
com.google.android.apps.nbu.files, 587
com.google.android.contacts, 510
com.google.android.gm, 550
com.google.android.GoogleCamera, 587

Bug: 149610499
Test: run app launch time test
Change-Id: I7e3ee0785ee470ee46d57f9fa03ec042028b1417
This commit is contained in:
Leo Liou 2020-06-15 19:39:16 +08:00 committed by Alexander Winkowski
parent 6c07d0e241
commit c87ef2f661
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44

View File

@ -162,6 +162,15 @@
],
"ResetOnInit": true
},
{
"Name": "UfsClkGateEnable",
"Path": "/sys/devices/platform/soc/1d84000.ufshc/clkgate_enable",
"Values": [
"0",
"1"
],
"ResetOnInit": true
},
{
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
@ -215,6 +224,12 @@
"Duration": 0,
"Value": "3"
},
{
"PowerHint": "INTERACTION",
"Node": "UfsClkGateEnable",
"Duration": 200,
"Value": "0"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBigClusterMinFreq",
@ -263,6 +278,12 @@
"Duration": 0,
"Value": "2929"
},
{
"PowerHint": "LAUNCH",
"Node": "UfsClkGateEnable",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq",