sm8250-common: livedisplay: Don't write to DCI_P3 node on boot_completed
Apparently on hotdogb DCI_P3=0 looks really bad... Change-Id: If63ee6aaa5ae09e1acc9204c3a2b8201c1950488
This commit is contained in:
parent
bb16a2e105
commit
4c76d02e85
1 changed files with 0 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
on init
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/DCI_P3
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/dimlayer_bl_en
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/hbm
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/night_mode
|
||||
|
@ -7,7 +6,6 @@ on init
|
|||
chown system graphics /sys/class/drm/card0-DSI-1/native_display_p3_mode
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/native_display_srgb_color_mode
|
||||
chown system graphics /sys/class/drm/card0-DSI-1/native_display_wide_color_mode
|
||||
chmod 0666 /sys/class/drm/card0-DSI-1/DCI_P3
|
||||
chmod 0666 /sys/class/drm/card0-DSI-1/dimlayer_bl_en
|
||||
chmod 0666 /sys/class/drm/card0-DSI-1/hbm
|
||||
chmod 0666 /sys/class/drm/card0-DSI-1/night_mode
|
||||
|
@ -22,7 +20,6 @@ service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1
|
|||
group system
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /sys/class/drm/card0-DSI-1/DCI_P3 0
|
||||
write /sys/class/drm/card0-DSI-1/hbm 0
|
||||
write /sys/class/drm/card0-DSI-1/night_mode 0
|
||||
write /sys/class/drm/card0-DSI-1/native_display_loading_effect_mode 0
|
||||
|
|
Loading…
Reference in a new issue