git: 1a816c756003 - main - loader.efi: efifb_mask_from_pixfmt is missing PixelBltOnly
Toomas Soome
tsoome at FreeBSD.org
Mon Jan 11 21:51:56 UTC 2021
The branch main has been updated by tsoome:
URL: https://cgit.FreeBSD.org/src/commit/?id=1a816c75600335c4482070df055add6f96885d54
commit 1a816c75600335c4482070df055add6f96885d54
Author: Toomas Soome <tsoome at FreeBSD.org>
AuthorDate: 2021-01-11 19:16:42 +0000
Commit: Toomas Soome <tsoome at 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;
More information about the dev-commits-src-main
mailing list