]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: fix DMI on EFI
authorBrian Maly <bmaly@redhat.com>
Wed, 4 Mar 2009 02:55:31 +0000 (21:55 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Jun 2009 03:01:35 +0000 (20:01 -0700)
commitedafc7a273c17f4806fd785c2fb0574161e8dcf5
treea380c2b4aa895fcc355fb52d32f0fb7ae6e4b901
parent2544b8905986f808751df99766ed6f04051ed098
x86: fix DMI on EFI

commit ff0c0874905fb312ca1491bbdac2653b0b48c20b upstream.

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: Brian Maly <bmaly@redhat>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: ying.huang@intel.com
LKML-Reference: <49ADEDA3.1030406@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/setup.c