Skip to content
  • Matthew Garrett's avatar
    efifb: Skip DMI checks if the bootloader knows what it's doing · f462ed93
    Matthew Garrett authored
    
    
    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: default avatarMatthew Garrett <mjg@redhat.com>
    Acked-by: default avatarPeter Jones <pjones@redhat.com>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    f462ed93