loader.efi: efifb_mask_from_pixfmt is missing PixelBltOnly
GOP protocol may only provide software Blt() and no hardware framebuffer. Such configuration would provide pixel type PixelBltOnly and we need to recognise it while setting up color masks.
Note: this update will fix loader.efi to be able to draw on virtual screens (with no mapped framebuffer). However, out kernel can not use such console because we gfx_private will need mapped framebuffer, if this is the case, only serial console can be used.
Testing done: I did test this with freebsd loader on qemu-system-aarch64 and with -device virtio-gpu-pci.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit aeaf55833f532850471446fb8721ef54e0b9a36d Author: Toomas Soome <firstname.lastname@example.org> Date: 2021-02-16T19:20:19.000Z 13516 loader.efi: efifb_mask_from_pixfmt is missing PixelBltOnly Reviewed by: C Fraire <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>