From 1a816c75600335c4482070df055add6f96885d54 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 11 Jan 2021 21:16:42 +0200 Subject: [PATCH] loader.efi: efifb_mask_from_pixfmt is missing PixelBltOnly We are missing way to set RGB masks for BLT only framebuffer. --- stand/efi/loader/framebuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c index fccbd82a09f7..db7bcb49f2f4 100644 --- a/stand/efi/loader/framebuffer.c +++ b/stand/efi/loader/framebuffer.c @@ -105,6 +105,7 @@ efifb_mask_from_pixfmt(struct efi_fb *efifb, EFI_GRAPHICS_PIXEL_FORMAT pixfmt, result = 0; switch (pixfmt) { case PixelRedGreenBlueReserved8BitPerColor: + case PixelBltOnly: efifb->fb_mask_red = 0x000000ff; efifb->fb_mask_green = 0x0000ff00; efifb->fb_mask_blue = 0x00ff0000;