sm6250-common: Enable display idle_state mechanism

Allows us to check the idle state of the display in order to use perf
hints to improve system performance.

Bug: 124470767
Test: Booted and cated the affected files
Change-Id: Ib22b5209c57725c50f3545c578af7b72e7f08322
This commit is contained in:
Midas Chien 2019-02-15 11:07:01 +08:00 committed by Volodymyr Zhdanov
parent d3820f5157
commit e112c80a6d

View File

@ -514,6 +514,10 @@ on property:sys.boot_completed=1
chown media audio /sys/kernel/wdsp0/boot
chown media audio /sys/kernel/wcd_cpe0/fw_name
# Enable idle state listener
write /sys/class/drm/card0/device/idle_encoder_mask 1
write /sys/class/drm/card0/device/idle_timeout_ms 100
# corefile limit
on property:persist.debug.trace=1
mkdir /data/core 0777 root root