diff mbox series

[4/5] drm: EDID: Add a 1280x720 (720p) EDID

Message ID 20181113171219.3jjqj3poer3sjvyd@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 should match standard HDTV 720p 60 Hz timings.

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

Patch

diff --git a/Documentation/EDID/1280x720.S b/Documentation/EDID/1280x720.S
new file mode 100644
index 000000000000..4c17d4d04900
--- /dev/null
+++ b/Documentation/EDID/1280x720.S
@@ -0,0 +1,45 @@ 
+/*
+   1280x720.S: EDID data set for standard 720p
+
+   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 74250 /* kHz */
+#define XPIX 1280
+#define YPIX 720
+#define XY_RATIO XY_RATIO_16_9
+#define XBLANK 370
+#define YBLANK 30
+#define XOFFSET 110
+#define XPULSE 40
+#define YOFFSET 20
+#define YPULSE 5
+#define DPI 96
+#define VFREQ 60 /* Hz */
+#define TIMING_NAME "Linux 720p"
+/* No ESTABLISHED_TIMINGx_BITS */
+#define HSYNC_POL 1
+#define VSYNC_POL 1
+#define CRC 0x77
+
+#include "edid.S"