* Created per-device trees commit https://github.com/xiaomi-mt6899-dev/android_device_xiaomi_klee/tree/664b7fd9419947d4ca5c1a2b833968b2ad0b0e41
31 lines
983 B
Plaintext
31 lines
983 B
Plaintext
# Copyright (c) 2017 Xiaomi, Inc.
|
|
# All Rights Reserved.
|
|
# Confidential and Proprietary - Xiaomi, Inc.
|
|
#
|
|
service vendor.displayfeatureaidl-hal /vendor/bin/hw/vendor.xiaomi.hardware.displayfeature_aidl-service
|
|
class hal
|
|
user system
|
|
group system graphics
|
|
onrestart restart displayfeature
|
|
|
|
on early-boot
|
|
# Display feature sysfs node
|
|
chown system system /sys/class/mi_display/disp-DSI-0/disp_count
|
|
chmod 0664 /sys/class/mi_display/disp-DSI-0/disp_count
|
|
chown system system /sys/class/mi_display/disp-DSI-1/disp_count
|
|
chmod 0664 /sys/class/mi_display/disp-DSI-1/disp_count
|
|
|
|
on boot
|
|
chown system system /sys/devices/virtual/graphics/fb0/hist_event
|
|
|
|
on post-fs-data
|
|
chown system system /sys/class/drm/card0-DSI-1/mipi_reg
|
|
chmod 664 /sys/class/drm/card0-DSI-1/mipi_reg
|
|
chmod 0666 /sys/kernel/tracing/events/sde/tracing_mark_write/enable
|
|
|
|
service displayfeature /vendor/bin/displayfeature
|
|
class late_start
|
|
user root
|
|
group root
|
|
|