PowerHint: Add DISPLAY_UPDATE_IMMINENT hint
This hint is set to indicate that the framework is likely to
provide a new frame soon. Therefore HWC has additional time to
exit power collapse.
Bug: 150196517
Test: testInflatingEmojiListViewFling
Test: testBrowseContentScroll
Change-Id: Ib068511a10af7f2dcf57ab03c24b50a4fa9ed0a9
diff --git a/powerhint.json b/powerhint.json
index c4eff3d..43f2ca7 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -266,6 +266,14 @@
"HoldFd": true
},
{
+ "Name": "DisplayWakeup",
+ "Path": "/sys/devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-0/early_wakeup",
+ "Values": [
+ "1",
+ "0"
+ ]
+ },
+ {
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
"Values": [
@@ -743,6 +751,12 @@
"Node": "PMQoSCpuDmaLatency",
"Duration": 2000,
"Value": "61"
+ },
+ {
+ "PowerHint": "DISPLAY_UPDATE_IMMINENT",
+ "Node": "DisplayWakeup",
+ "Duration": 60,
+ "Value": "1"
}
]
}