getedid: added the active HDMI/DP port to new kernel parameters

Added the active HDMI/DP port to kernel parameters. 

Without it, fixed EDID does not work on Intel Haswell and possibly others.
This commit is contained in:
Mario Krupa 2018-10-26 14:27:13 +02:00 committed by MilhouseVH
parent e7e3247c27
commit ee2503e625

View File

@ -186,7 +186,7 @@ intel_amd() {
if [ "$kernel" -lt "415000" ]; then
sed -i "/ APPEND/s/$/ initrd=\/edid.cpio drm_kms_helper.edid_firmware=$hdmi:edid\/edid.bin video=$hdmi:D/" "$file"
else
sed -i "/ APPEND/s/$/ initrd=\/edid.cpio drm.edid_firmware=edid\/edid.bin/" "$file"
sed -i "/ APPEND/s/$/ initrd=\/edid.cpio drm.edid_firmware=edid\/edid.bin video=$hdmi:D/" "$file"
fi
# reboot