Skip to content

Instantly share code, notes, and snippets.

@spelufo
Created April 17, 2017 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spelufo/6b3610c9e24da4c09b5fab6ffca0a575 to your computer and use it in GitHub Desktop.
Save spelufo/6b3610c9e24da4c09b5fab6ffca0a575 to your computer and use it in GitHub Desktop.
Custom EDID for 1600x900 Samsung S20B300 monitor
/*
1600x900.S: EDID data set for standard 1600x900 60 Hz monitor
Copyright (C) 2011 Carsten Emde <C.Emde@osadl.org>
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 108000 /* kHz */
#define XPIX 1600
#define YPIX 900
#define XY_RATIO XY_RATIO_16_9
#define XBLANK (1800-1600)
#define YBLANK (1000-900)
#define XOFFSET (1624-1600)
#define XPULSE (1709-1624)
#define YOFFSET (63+(901-900))
#define YPULSE (63+(904-901))
#define DPI 72
#define VFREQ 60 /* Hz */
#define TIMING_NAME "Linux XGA"
#define ESTABLISHED_TIMING2_BITS 0x00
#define HSYNC_POL 1
#define VSYNC_POL 1
#define CRC 0x1c
#include "edid.S"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment