X86: Improve GOP detection in the EFI boot stub
authorMatthew Garrett <mjg@redhat.com>
Thu, 26 Jul 2012 22:00:27 +0000 (18:00 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 17 Sep 2012 12:29:20 +0000 (13:29 +0100)
commit38cb5ef4473c6f510fae3a00bdac3acd550e3796
tree04e360996268f16d6303a8eda994bcf3e9e0af10
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
X86: Improve GOP detection in the EFI boot stub

We currently use the PCI IO protocol as a proxy for a functional GOP. This
is less than ideal, since some platforms will put the GOP on output devices
rather than the GPU itself. Move to using the conout protocol. This is not
guaranteed per-spec, but is part of the consplitter implementation that
causes this problem in the first place and so should be reliable.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.c
arch/x86/boot/compressed/eboot.h