mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-04-29 02:27:21 +09:00
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:
parent
6c07d0e241
commit
c87ef2f661
@ -162,6 +162,15 @@
|
|||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "UfsClkGateEnable",
|
||||||
|
"Path": "/sys/devices/platform/soc/1d84000.ufshc/clkgate_enable",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "PowerHALMainState",
|
"Name": "PowerHALMainState",
|
||||||
"Path": "vendor.powerhal.state",
|
"Path": "vendor.powerhal.state",
|
||||||
@ -215,6 +224,12 @@
|
|||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "3"
|
"Value": "3"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "INTERACTION",
|
||||||
|
"Node": "UfsClkGateEnable",
|
||||||
|
"Duration": 200,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "INTERACTION",
|
"PowerHint": "INTERACTION",
|
||||||
"Node": "CPUBigClusterMinFreq",
|
"Node": "CPUBigClusterMinFreq",
|
||||||
@ -263,6 +278,12 @@
|
|||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "2929"
|
"Value": "2929"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "UfsClkGateEnable",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user