From patchwork Tue Nov 13 17:12:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Hutchings X-Patchwork-Id: 10682079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFE491747 for ; Wed, 14 Nov 2018 08:17:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C67DB2AA63 for ; Wed, 14 Nov 2018 08:17:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB00F2B1A2; Wed, 14 Nov 2018 08:17:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6817F2AA63 for ; Wed, 14 Nov 2018 08:17:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7DAE16E4C7; Wed, 14 Nov 2018 08:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B69F6E3CC for ; Tue, 13 Nov 2018 17:54:30 +0000 (UTC) Received: from [148.252.241.226] (helo=xylophone.i.decadent.org.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1gMcEl-0007c9-Fm for ; Tue, 13 Nov 2018 17:12:27 +0000 Date: Tue, 13 Nov 2018 17:12:26 +0000 From: Ben Hutchings To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/5] drm: EDID: Add a 1280x768 ("WXGA") EDID Message-ID: <20181113171226.6mgxh3cfluc3syhe@xylophone.i.decadent.org.uk> References: <20181113171053.is24iz65egl22aw7@xylophone.i.decadent.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181113171053.is24iz65egl22aw7@xylophone.i.decadent.org.uk> User-Agent: NeoMutt/20170113 (1.7.2) X-Mailman-Approved-At: Wed, 14 Nov 2018 08:16:04 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is one of several modes sometimes called WXGA. Signed-off-by: Ben Hutchings --- Documentation/EDID/1280x768.S | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/EDID/1280x768.S 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 + 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"