chore: Cleanup for panel orientation on Galileo

This commit is contained in:
Kyle Gospodnetich 2024-02-09 17:14:11 -08:00
parent bf5e0708ac
commit 3d22b8041e

View File

@ -130,13 +130,14 @@ if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "drm.edid_firmware" ]]; then
NEEDED_KARGS+=("--append-if-missing=drm.edid_firmware=eDP-1:edid/aokzoea1ar07_edid.bin")
fi
if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
fi
if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for Steam Deck OLED"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
elif [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for Lenovo Legion Go"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up")