mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
loader.efi: Use Blt with gop as default
System with FB address 0x4000000000 does not draw, Blt() is doing fine. I think, we can assume the Blt will usually work.
This commit is contained in:
parent
7593c13e18
commit
3ddf7eade0
|
@ -710,8 +710,11 @@ gfxfb_blt(void *BltBuffer, GFXFB_BLT_OPERATION BltOperation,
|
|||
EFI_STATUS status;
|
||||
EFI_GRAPHICS_OUTPUT *gop = gfx_state.tg_private;
|
||||
|
||||
if (gop != NULL && (gop->Mode->Info->PixelFormat == PixelBltOnly ||
|
||||
gfx_state.tg_fb.fb_addr == 0)) {
|
||||
/*
|
||||
* We assume Blt() does work, if not, we will need to build
|
||||
* exception list case by case.
|
||||
*/
|
||||
if (gop != NULL) {
|
||||
switch (BltOperation) {
|
||||
case GfxFbBltVideoFill:
|
||||
status = gop->Blt(gop, BltBuffer, EfiBltVideoFill,
|
||||
|
|
Loading…
Reference in a new issue