efi_loader: Fix GOP 32bpp exposure
authorAlexander Graf <agraf@suse.de>
Tue, 19 Jun 2018 11:34:54 +0000 (13:34 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 21 Jun 2018 15:18:18 +0000 (17:18 +0200)
commit6fc2c704d40255e418857b60e86cf8d76fbcda4b
tree7485dd780b7f19c1caad6c796b8284d809a9a831
parenta5742efa20384a27d51ee6c43d02c2025536c65d
efi_loader: Fix GOP 32bpp exposure

We store pixels as BGRA in memory, as can be seen from struct efi_gop_pixel.
So we need to expose the same format to UEFI payloads to actually have them
use the correct colors.

Reported-by: Fabian Vogt <fvogt@suse.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_gop.c