[U-Boot] [PATCH 1/1] efi_loader: correctly support parameter delta in Blt

Alexander Graf agraf at suse.de
Thu Mar 15 10:19:23 UTC 2018


On 03/14/2018 07:57 PM, Heinrich Schuchardt wrote:
> In the Blt service of the EFI_GRAPHICS_OUTPUT_PROTOCOL the parameter delta
> is measured in bytes and not in pixels.
>
> The coding only supports delta being a multiple of four. The UEFI
> specification does not explicitly require this but as pixels have a size of
> four bytes we should be able to assume four byte alignment.
>
> The corresponding unit test is corrected, too. It can be launched with
>
> 	setenv efi_selftest block image transfer
> 	bootefi selftest
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

I can verify that this makes grub GOP work again :)


Alex



More information about the U-Boot mailing list