mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 05:57:08 +07:00
8bed5a5cfc
The previous version made it necessary to first generate an EDID data set without correct CRC and then to fix the CRC in a second step. This patch adds the CRC calculation to the makefile in such a way that a correct EDID data set is generated in a single build step. Successfully tested with all existing and a couple of new data sets. Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.de> Reviewed-by: Carsten Emde <C.Emde@osadl.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
44 lines
1.2 KiB
ArmAsm
44 lines
1.2 KiB
ArmAsm
/*
|
|
1920x1080.S: EDID data set for standard 1920x1080 60 Hz monitor
|
|
|
|
Copyright (C) 2012 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 148500 /* kHz */
|
|
#define XPIX 1920
|
|
#define YPIX 1080
|
|
#define XY_RATIO XY_RATIO_16_9
|
|
#define XBLANK 280
|
|
#define YBLANK 45
|
|
#define XOFFSET 88
|
|
#define XPULSE 44
|
|
#define YOFFSET 4
|
|
#define YPULSE 5
|
|
#define DPI 96
|
|
#define VFREQ 60 /* Hz */
|
|
#define TIMING_NAME "Linux FHD"
|
|
/* No ESTABLISHED_TIMINGx_BITS */
|
|
#define HSYNC_POL 1
|
|
#define VSYNC_POL 1
|
|
|
|
#include "edid.S"
|