]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fbdev: Resurrect hooks to get EDID from firmware
authorAntonino A. Daplas <adaplas@gmail.com>
Fri, 9 Sep 2005 20:04:34 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:59 +0000 (13:57 -0700)
commit9da2a34cc312540b641e99a14a77332a0fea9166
treea97dc33b2ce9a0553fb6b9b3206ee7674ae4d06a
parent4c507239bc9c9e383fff95e766fff5c0b8fa0e7a
[PATCH] fbdev: Resurrect hooks to get EDID from firmware

For the i386, code is already present in video.S that gets the EDID from the
video BIOS.  Make this visible so drivers can also use this data as fallback
when i2c does not work.

To ensure that the EDID block is returned for the primary graphics adapter
only, by check if the IORESOURCE_ROM_SHADOW flag is set.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/boot/video.S
arch/i386/kernel/setup.c
drivers/video/fbmon.c
include/linux/fb.h