feat(aokzoe): Support custom refresh rates on AOKZOE A1 hardware

This commit is contained in:
Kyle Gospodnetich 2024-01-03 21:14:18 -08:00
parent ef0ffbc2e1
commit 74a127d593
2 changed files with 7 additions and 0 deletions

View File

@ -133,6 +133,13 @@ if [[ ":ROG Ally RC71L_RC71L:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1618
fi
fi
if [[ ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
echo "AOKZOE A1 detected, fixing edid"
if [[ ! $KARGS =~ "drm.edid_firmware" ]]
NEEDED_KARGS+=("--append-if-missing=drm.edid_firmware=eDP-1:edid/aokzoea1ar07_edid.bin")
fi
fi
if [[ $KARGS =~ "nomodeset" ]]; then
echo "Removing nomodeset"
NEEDED_KARGS+=("--delete-if-present=nomodeset")