mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
This commit is contained in:
parent
a5742efa20
commit
6fc2c704d4
1 changed files with 1 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ efi_status_t efi_gop_register(void)
|
|||
gopobj->info.version = 0;
|
||||
gopobj->info.width = col;
|
||||
gopobj->info.height = row;
|
||||
gopobj->info.pixel_format = EFI_GOT_RGBA8;
|
||||
gopobj->info.pixel_format = EFI_GOT_BGRA8;
|
||||
gopobj->info.pixels_per_scanline = col;
|
||||
|
||||
gopobj->bpix = bpix;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue