[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-devel
Subject: Re: [PATCH v2 14/23] efi: split out efi_find_gop_mode()
From: "Jan Beulich" <JBeulich () suse ! com>
Date: 2015-08-20 15:48:41
Message-ID: 55D612F9020000780009C40C () prv-mh ! provo ! novell ! com
[Download RAW message or body]
>>> On 20.07.15 at 16:29, <daniel.kiper@oracle.com> wrote:
> --- a/xen/common/efi/boot.c
> +++ b/xen/common/efi/boot.c
> @@ -665,6 +665,58 @@ static EFI_GRAPHICS_OUTPUT_PROTOCOL __init *efi_get_gop(void)
> return gop;
> }
>
> +static UINTN __init efi_find_gop_mode(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop,
> + UINTN cols, UINTN rows, UINTN depth)
> +{
> + EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *mode_info;
> + EFI_STATUS status;
> + UINTN gop_mode = ~0, info_size, size;
> + unsigned int i;
> +
> + if ( !gop )
> + return gop_mode;
Please drop this in favor of ...
> @@ -978,46 +1030,8 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
>
> dir_handle->Close(dir_handle);
>
> - if ( gop && !base_video )
... keeping the original check here.
Similarly in patch 17.
With these minor adjustments, all the "efi: split out efi_..." patches
Acked-by: Jan Beulich <jbeulich@suse.com>
Jan
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic