• Brian Maly's avatar
    x86: fix DMI on EFI · ff0c0874
    Brian Maly authored
    Impact: reactivate DMI quirks on EFI hardware
    
    DMI tables are loaded by EFI, so the dmi calls must happen after
    efi_init() and not before.
    
    Currently Apple hardware uses DMI to determine the framebuffer mappings
    for efifb. Without DMI working you also have no video on MacBook Pro.
    
    This patch resolves the DMI issue for EFI hardware (DMI is now properly
    detected at boot), and additionally efifb now loads on Apple hardware
    (i.e. video works).
    Signed-off-by: default avatarBrian Maly <bmaly@redhat>
    Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
    Cc: ying.huang@intel.com
    LKML-Reference: <49ADEDA3.1030406@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    
     arch/x86/kernel/setup.c |    5 +++--
     1 file changed, 3 insertions(+), 2 deletions(-)
    ff0c0874
setup.c 23.4 KB