]> git.baikalelectronics.ru Git - kernel.git/commit
efifb: Skip DMI checks if the bootloader knows what it's doing
authorMatthew Garrett <mjg@redhat.com>
Fri, 27 Jul 2012 16:58:53 +0000 (12:58 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 17 Sep 2012 12:29:23 +0000 (13:29 +0100)
commit078dea693a0a1fc8d3f805a41644ea392f760c9d
tree4e1021c98cf298c5c4fc0257cb5999f200d84331
parentcf19c97c34e5a95a208f7e5a7a1a686ff361b94e
efifb: Skip DMI checks if the bootloader knows what it's doing

The majority of the DMI checks in efifb are for cases where the bootloader
has provided invalid information. However, on some machines the overrides
may do more harm than good due to configuration differences between machines
with the same machine identifier. It turns out that it's possible for the
bootloader to get the correct information on GOP-based systems, but we
can't guarantee that the kernel's being booted with one that's been updated
to do so. Add support for a capabilities flag that can be set by the
bootloader, and skip the DMI checks in that case. Additionally, set this
flag in the UEFI stub code.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.c
drivers/video/efifb.c
include/linux/screen_info.h