From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 2 Apr 2003 10:36:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 2 Apr 2003 10:36:08 -0500 Received: from pine.compass.com.ph ([202.70.96.37]:57863 "HELO pine.compass.com.ph") by vger.kernel.org with SMTP id ; Wed, 2 Apr 2003 10:36:06 -0500 Subject: [PATCH] Getting the EDID block for x86 From: Antonino Daplas To: Linus Torvalds Cc: Linux Fbdev development list , Linux Kernel List , James Simmons Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1049298092.5239.56.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 02 Apr 2003 23:41:53 +0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Attached is a diff against 2.5.66 which gets the EDID block via VBE/DDC service. This is done before switching to protected mode. It's useful for video drivers to have some kind of information about the primary display's operating limits and capability. Please, kindly apply. Tony diff -Naur linux-2.5.66-orig/arch/i386/boot/compressed/misc.c linux-2.5.66-edid/arch/i386/boot/compressed/misc.c --- linux-2.5.66-orig/arch/i386/boot/compressed/misc.c 2003-02-16 00:47:53.000000000 +0000 +++ linux-2.5.66-edid/arch/i386/boot/compressed/misc.c 2003-04-02 13:54:55.000000000 +0000 @@ -12,6 +12,7 @@ #include #include #include +#include