# /etc/X11/xorg.conf.d/amdgpu.conf
#
# Due to the amdgpu driver having issues with not getting valid EDID data when
# resuming from wake, hardcode the preferred video mode after copying it form
# the EDID.
#
Section "Device"
Identifier "GPU0"
Driver "amdgpu"
Option "Monitor-DisplayPort-0" "Monitor0"
Option "Monitor-DisplayPort-1" "Monitor1"
EndSection
Section "Modes"
Identifier "2160M"
# EDID from LG 27UD58
Modeline "3840x2160M" 533.25 3840 3888 3920 4000 2160 2214 2219 2222 +hsync -vsync
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "Primary" "true"
UseModes "2160M"
Option "PreferredMode" "3840x2160M"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "RightOf" "Monitor0"
UseModes "2160M"
Option "PreferredMode" "3840x2160M"
EndSection