mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-03 04:27:16 +09:00
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:
parent
d3820f5157
commit
e112c80a6d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user