Date: Mon, 11 Jan 2021 21:51:55 GMT From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 1a816c756003 - main - loader.efi: efifb_mask_from_pixfmt is missing PixelBltOnly Message-ID: <202101112151.10BLptNM016164@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tsoome: URL: https://cgit.FreeBSD.org/src/commit/?id=1a816c75600335c4482070df055add6f96885d54 commit 1a816c75600335c4482070df055add6f96885d54 Author: Toomas Soome <tsoome@FreeBSD.org> AuthorDate: 2021-01-11 19:16:42 +0000 Commit: Toomas Soome <tsoome@FreeBSD.org> CommitDate: 2021-01-11 19:16:42 +0000 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101112151.10BLptNM016164>