From patchwork Mon Nov 5 08:48:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Niedermaier X-Patchwork-Id: 10669897 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 7BB2314BD for ; Tue, 6 Nov 2018 08:15:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E9DF2A13D for ; Tue, 6 Nov 2018 08:15:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 633082A174; Tue, 6 Nov 2018 08:15:19 +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 215F62A13D for ; Tue, 6 Nov 2018 08:15:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 053EC6E369; Tue, 6 Nov 2018 08:15:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 318 seconds by postgrey-1.36 at gabe; Mon, 05 Nov 2018 08:53:53 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id F0B3D6E134 for ; Mon, 5 Nov 2018 08:53:53 +0000 (UTC) Received: from sun05.dh.corp ([188.193.90.127]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MIxmm-1g4oYm3wMc-00KQvE; Mon, 05 Nov 2018 09:48:31 +0100 Received: from sun05.dh.corp ([188.193.90.127]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MIxmm-1g4oYm3wMc-00KQvE; Mon, 05 Nov 2018 09:48:31 +0100 Received: from sun1049.dh.corp (unknown [10.64.9.49]) by sun05.dh.corp (Postfix) with ESMTP id 9A2D51FA3D; Mon, 5 Nov 2018 09:48:29 +0100 (CET) Received: from localhost (10.64.31.3) by sun1049.dh.corp (10.64.9.49) with Microsoft SMTP Server id 14.3.408.0; Mon, 5 Nov 2018 09:48:35 +0100 From: Christoph Niedermaier To: , Subject: [PATCH 0/2] Docs/EDID: Fixed and improved EDID documentation Date: Mon, 5 Nov 2018 09:48:33 +0100 Message-ID: <1541407715-5417-1-git-send-email-cniedermaier@dh-electronics.de> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 X-Originating-IP: [10.64.31.3] X-Provags-ID: V03:K1:HXOMch+g9joJ/JAT2212kn+m7rFqYoIIOq9PLp/XUNbCB/LbaTU q4GTrLz+3ks1HgBbXT6rg3fpQnmexyuCy1S5iKYwq2XxRaZjmPQc4WScifa2oX1zyD2q5e7 VMIsmKA9oq59e6XlyL+5GfDAVoOZmSpOaisK3w/U68bMUhCKXCTSnuJjPbWP2rYJ2jIUeMP l0y80l3JsaMf07X3tiBQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:f+V08fIlDBU=:PB0Ay4BnvpMdFNHbEwlmDc 7o0u5m130Bv4UXDrRUWnts0K7GJwtou007FfRjNUeNb4gEjZAn+niEv7NJAOLSOEYo2qhP7L/ u0OzC0tPmmjM7CidSee0McvjOEjNX298raPxapcvBMuX860S5CZ3x35G0KZpuWGR4M5XeT50P zTaYaceyeSdxukDgb6WhGE/Kl9QeMuPm8qiM9rRfHqRAM6h6QxGvyuoC4PVq8LZMEz0odDVaI VOAtpU/z8y69PGHMr7c6J12ydU7HtzTfglpBfKJXxRvDxx7rvmp3RjiJoP2qIcRgDhBsTT7ak EWT1YBK6jgzrftKeW6Qc+lz6iF+jARAbB8F/x5nFPJvDjPsACDn/HvVcBp+Hq/VIXy6xrIdwS i2MvAKhHRy4GyKSGXi3L6FtpZ86MFMdKX29W8SlUEDlEMQDDyLlIKstFe1QxCQ5QxzZqgV5n8 OzUsrsQWbU5Pf1WRpnZvSqzLBLa0PKqD0L1Id5hGQF0G0W1UPzP4Y8lTEtPk20nwA3Uezz2Du VOwRbeTPVIZ9y8u0/XtxAE0bUV3gg8+elsAkU3w/UKBPzEfSY5BwyTen7IIIGdG+0KLDPspgj t1C8RtHd9a7fjq8GFvw+qixxrOFUr63/xFo0YSAXUm0dcC9fKRJupjTny+fOeOgZHTuXbmgLV e3Uk96T7L2+TwKlSMkSoaTna4twRpyUzATP9lHVxX37wJiO3YIlKveJnwY+//Fe3s6mfKi1VP INs8VICjLYhJJ15yeSSyoL6bN6i50/u5bUF/NivinD88lrNtrMPE+A6hTwmGNaanT+ek7ZESR oMH9XK8ExWX4h5trZSlqSvl1xjxSxtdfIMbGp9OsnlsHDkoyOA= X-Mailman-Approved-At: Tue, 06 Nov 2018 08:14:57 +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: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP A problem was found when EDID data sets for displays other than the provided samples were generated. The patch series has no effect on the provided samples that still match the data used in drivers/gpu/drm/drm_edid_load.c. The provided samples use small values for XOFFSET, XPULSE, YOFFSET and YPULSE, where the error doesn't occur. This fix corrects the use of that values in case of high values, because the most significant bits were treated incorrectly. 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 series adds the CRC calculation to the makefile in such a way that a correct EDID data set is generated in a single build step. --- Christoph Niedermaier (2): Docs/EDID: Fixed erroneous bits of XOFFSET, XPULSE, YOFFSET and YPULSE Docs/EDID: Calculate CRC while building the code Documentation/EDID/1024x768.S | 5 ++--- Documentation/EDID/1280x1024.S | 5 ++--- Documentation/EDID/1600x1200.S | 5 ++--- Documentation/EDID/1680x1050.S | 5 ++--- Documentation/EDID/1920x1080.S | 5 ++--- Documentation/EDID/800x600.S | 5 ++--- Documentation/EDID/HOWTO.txt | 13 ++----------- Documentation/EDID/Makefile | 15 +++++++++++++-- Documentation/EDID/edid.S | 10 ++++++---- 9 files changed, 33 insertions(+), 35 deletions(-)