From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antonino Daplas Subject: [PATCH] Getting the EDID block for x86 Date: 02 Apr 2003 23:41:53 +0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1049298092.5239.56.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from pine.compass.com.ph ([202.70.96.37]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 190kSY-0006Pf-00 for ; Wed, 02 Apr 2003 07:47:30 -0800 Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Linus Torvalds Cc: Linux Fbdev development list , Linux Kernel List , James Simmons 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