sdm660-common: rootdir: remove interaction lock when idle

Allows earlier interaction lock release by polling on display updates to
stop happening (becomes idle) for a programmable amount of time.

Bug: 62110101
Test: Ran UiBench, didn't see regressions
susbset of tests - avg-jank:
testInflatingListViewFling: 0.09
testTrivialListViewFling:   0.15

Change-Id: I83c0fc75a3d7ca5bf76910ebbaeddb69343a7ee2
This commit is contained in:
Wei Wang 2017-11-16 22:04:28 -08:00 committed by Max Weffers
parent cc04efcb21
commit 04d14b6518
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -56,6 +56,8 @@ on init
on post-fs
chmod 0755 /sys/kernel/debug/tracing
write /sys/class/graphics/fb0/idle_time 100
on early-boot
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864