diff --git a/1280x720.S b/1280x720.S new file mode 100644 index 0000000..8a3bbe3 --- /dev/null +++ b/1280x720.S @@ -0,0 +1,19 @@ +/* 1280x720: Modeline "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync */ +#define HSYNC_POL 1 +#define VSYNC_POL 1 +#define YPULSE (63+5) +#define XPULSE 128 +#define YPIX 720 +#define XPIX 1280 +#define VFREQ 60 +#define DPI 96 +#define CLOCK 74500 +#define VERSION 1 +#define REVISION 3 +#define XOFFSET 64 +#define YOFFSET (63+3) +#define XY_RATIO XY_RATIO_16_9 +#define YBLANK 28 +#define XBLANK 384 +#define TIMING_NAME "1280x720" +#include "edid.S" diff --git a/2560x1440.S b/2560x1440.S new file mode 100644 index 0000000..5e9eecb --- /dev/null +++ b/2560x1440.S @@ -0,0 +1,19 @@ +/* 2560x1440: Modeline "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync */ +#define HSYNC_POL 1 +#define VSYNC_POL 1 +#define YPULSE (63+5) +#define XPULSE 32 +#define YPIX 1440 +#define XPIX 2560 +#define VFREQ 60 +#define DPI 96 +#define CLOCK 241500 +#define VERSION 1 +#define REVISION 3 +#define XOFFSET 48 +#define YOFFSET (63+3) +#define XY_RATIO XY_RATIO_16_9 +#define YBLANK 41 +#define XBLANK 160 +#define TIMING_NAME "2560x1440" +#include "edid.S" diff --git a/2880x1800.S b/2880x1800.S new file mode 100644 index 0000000..6c85500 --- /dev/null +++ b/2880x1800.S @@ -0,0 +1,19 @@ +/* 2880x1800: Modeline "2880x1800" 337.75 2880 2928 2960 3040 1800 1803 1809 1852 +hsync -vsync */ +#define HSYNC_POL 1 +#define VSYNC_POL 1 +#define YPULSE (63+6) +#define XPULSE 32 +#define YPIX 1800 +#define XPIX 2880 +#define VFREQ 60 +#define DPI 96 +#define CLOCK 337750 +#define VERSION 1 +#define REVISION 3 +#define XOFFSET 48 +#define YOFFSET (63+3) +#define XY_RATIO XY_RATIO_16_9 +#define YBLANK 52 +#define XBLANK 160 +#define TIMING_NAME "2880x1800" +#include "edid.S" diff --git a/3840x2160.S b/3840x2160.S index 2b24abb..d5fe1e4 100644 --- a/3840x2160.S +++ b/3840x2160.S @@ -1,4 +1,4 @@ -/* 3840x2160: Modeline "3840x2160" 594.000 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync */ +/* 3840x2160: Modeline "3840x2160" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync */ #define HSYNC_POL 1 #define VSYNC_POL 1 #define YPULSE (63+10) diff --git a/EXAMPLE_MODELINES b/EXAMPLE_MODELINES index e8fca54..0ee65ad 100644 --- a/EXAMPLE_MODELINES +++ b/EXAMPLE_MODELINES @@ -10,3 +10,23 @@ Section "Monitor" Identifier "Fake" Modeline "test_xorg" 594.000 3840 4016 4104 4400 2160 2168 2178 2250 +vsync EndSection + +## +## Apple Thunderbolt Display +## + +Modeline "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync +Modeline "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync + +## +## Sceptre U435CV-UMC @ 60hz (needed or else it will stay at 30hz due to timing being out of bounds) +## + +Modeline "3840x2160" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync + +## +## Retina MacbookPro (all) +## Not needed at all. Just an example. +## + +Modeline "2880x1800" 337.75 2880 2928 2960 3040 1800 1803 1809 1852 +hsync -vsync