[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>
This commit is contained in:

committed by
Linus Torvalds

parent
53eed4ec8b
commit
5e518d7672
@@ -139,6 +139,7 @@ struct sys_desc_table_struct {
|
||||
unsigned char table[0];
|
||||
};
|
||||
struct edid_info edid_info;
|
||||
EXPORT_SYMBOL_GPL(edid_info);
|
||||
struct ist_info ist_info;
|
||||
#if defined(CONFIG_X86_SPEEDSTEP_SMI) || \
|
||||
defined(CONFIG_X86_SPEEDSTEP_SMI_MODULE)
|
||||
|
Reference in New Issue
Block a user