device_xiaomi_sm6150-common/livedisplay/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc
Paul Keith 4560af5d2f sm6150-common: livedisplay: Fix racy init
* It turns out moving this to class main doesn't work as well
  as some had thought it would, so restore the previous logic
  to use class hal, and restart if the backend isn't up yet

Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2023-01-27 01:32:59 +00:00

13 lines
510 B
Plaintext

on boot
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/dc_enable
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm
service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150
class late_start
user system
group system
writepid /dev/cpuset/system-background/tasks