diff mbox series

[5/5] drm: EDID: Add a 1280x768 ("WXGA") EDID

Message ID 20181113171226.6mgxh3cfluc3syhe@xylophone.i.decadent.org.uk (mailing list archive)
State New, archived
Headers show
Series Fixes and additions to EDID generation | expand

Commit Message

Ben Hutchings Nov. 13, 2018, 5:12 p.m. UTC
This is one of several modes sometimes called WXGA.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
---
 Documentation/EDID/1280x768.S | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 Documentation/EDID/1280x768.S
diff mbox series

Patch

diff --git a/Documentation/EDID/1280x768.S b/Documentation/EDID/1280x768.S
new file mode 100644
index 000000000000..9692c93fbfa3
--- /dev/null
+++ b/Documentation/EDID/1280x768.S
@@ -0,0 +1,45 @@ 
+/*
+   1280x768.S: EDID data set for 1280x768@60 with Reduced Blanking
+
+   Copyright (C) 2012 Carsten Emde <C.Emde@osadl.org>
+   Copyright 2016 Codethink Ltd.
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
+*/
+
+/* EDID */
+#define VERSION 1
+#define REVISION 3
+
+/* Display */
+#define CLOCK 68250 /* kHz */
+#define XPIX 1280
+#define YPIX 768
+#define XY_RATIO XY_RATIO_16_10 /* closest to real ratio 5:3 */
+#define XBLANK 160
+#define YBLANK 22
+#define XOFFSET 48
+#define XPULSE 32
+#define YOFFSET 3
+#define YPULSE 7
+#define DPI 96
+#define VFREQ 60 /* Hz */
+#define TIMING_NAME "1280x768 RB"
+/* No ESTABLISHED_TIMINGx_BITS */
+#define HSYNC_POL 1
+#define VSYNC_POL 0
+#define CRC 0x20
+
+#include "edid.S"