1
0

x86: sysfb: move EFI quirks from efifb to sysfb

The EFI FB quirks from efifb.c are useful for simple-framebuffer devices
as well. Apply them by default so we can convert efifb.c to use
efi-framebuffer platform devices.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Link: http://lkml.kernel.org/r/1375445127-15480-5-git-send-email-dh.herrmann@gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Este cometimento está contido em:
David Herrmann
2013-08-02 14:05:23 +02:00
cometido por H. Peter Anvin
ascendente e3263ab389
cometimento 2995e50627
5 ficheiros modificados com 282 adições e 227 eliminações

Ver ficheiro

@@ -47,6 +47,8 @@ static __init int sysfb_init(void)
bool compatible;
int ret;
sysfb_apply_efi_quirks();
/* try to create a simple-framebuffer device */
compatible = parse_mode(si, &mode);
if (compatible) {
@@ -68,4 +70,5 @@ static __init int sysfb_init(void)
return IS_ERR(pd) ? PTR_ERR(pd) : 0;
}
/* must execute after PCI subsystem for EFI quirks */
device_initcall(sysfb_init);