Skip to content

Instantly share code, notes, and snippets.

@spelufo

spelufo/1600x900.S

Created Apr 17, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.