weston: remove extra modesetting (#154)

This commit is contained in:
Adeeb Shihadeh
2023-07-06 19:38:57 -07:00
committed by GitHub
parent 592d5815d3
commit b1f2f2ca9a
+2 -3
View File
@@ -15,9 +15,8 @@ TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
# TODO: DCS commands (e.g. brightness setting) don't work without this on tizi
ExecStartPre=/bin/bash -c "/usr/comma/modetest -M msm_drm -s 26:1080x2160-60 && \
sleep 1"
# TODO: DCS commands (e.g. brightness setting) don't work without this on certain panels
ExecStartPre=/bin/bash -c "if [ -d /sys/kernel/debug/dsi_mate10_lite_video_display ]; then echo modesetting; /usr/comma/modetest -M msm_drm -s 26:1080x2160-60; sleep 1; fi"
ExecStartPre=/bin/bash -c "mkdir -p $XDG_RUNTIME_DIR"
ExecStartPre=/bin/bash -c "chown -R comma: $XDG_RUNTIME_DIR"