Re: [PATCH 1/3] x86: Expand EFI GOP handle search

From: Matt Fleming
Date: Wed May 23 2012 - 16:21:31 EST


On Wed, 2012-05-23 at 14:08 -0400, Matthew Garrett wrote:
> Some UEFI implementations provide multiple GOP handles, with one acting
> as a splitter device to handle the case of multiple outputs being present.
> The downside of this approach is that the console splitter device may
> report an inaccurate stride value. We currently get around this by looking
> for a device that implements the PCI IO protocol. However, this fails on
> some devices - the GOP may be attached to the display device rather than
> the GPU. We can handle that scenario by looking for a handle with an EDID
> protocol attached to it.
>
> Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>
> Cc: Matt Fleming <matt.fleming@xxxxxxxxx>
> ---
> arch/x86/boot/compressed/eboot.c | 27 ++++++++++++++++-----------
> include/linux/efi.h | 3 +++
> 2 files changed, 19 insertions(+), 11 deletions(-)

Seems fair enough. Thanks Matthew.

Acked-by: Matt Fleming <matt.fleming@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/