]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader.efi: Do not use as frame buffer BLT-only GOPs.
authorAlexander Motin <mav@FreeBSD.org>
Thu, 16 Dec 2021 16:44:34 +0000 (11:44 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 23 Dec 2021 04:02:11 +0000 (23:02 -0500)
commit76cbf786406311b7d89db0b725f9cd0c890e54e4
treeb7c34499a82c5d1fb18c575e63a7d9483ebaff89
parenta41216dbe060032bb439d55220bd4a8e135ec80f
loader.efi: Do not use as frame buffer BLT-only GOPs.

Kernel needs physical frame buffer address and size, which Block
Transfer-only Graphics Output Protocol instances do not have.

Some recent ASUS boards like PRIME Z690M-PLUS D4 and PRIME H570-Plus
report two GOPs, out of which the second one support ConOut protocol,
that made it preferable, but is BLT-only, that made console unusable.

Discussed with: tsoome (previous version)
MFC after: 1 week

(cherry picked from commit 02732f945ed2ec2b4fd03421923720608b28a615)
stand/efi/loader/framebuffer.c