]> git.proxmox.com Git - mirror_edk2.git/commit - UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
UefiPayloadPkg/Library/PlatformBootManagerLib: Remove broken VGA detection
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Thu, 10 Feb 2022 21:27:51 +0000 (14:27 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 29 Mar 2022 06:48:57 +0000 (06:48 +0000)
commit2b4b8013fe45f5942433c90aad2ff1f1b29441ac
tree0607e007b8652c535fc52ff42c1825835467b356
parentc248802e40dc2cea007a7063b73feb0d04809261
UefiPayloadPkg/Library/PlatformBootManagerLib: Remove broken VGA detection

This fixes an issue where the framebuffer provided by coreboot or
slimbootloader will only work on the primary VGA device. If the
framebuffer corresponds to a different device the screen will stay black.
In addition, the code doesn't work for multiple graphic cards, has
reference to non existing functions, and is a duplication of common code.

Call EfiBootManagerConnectVideoController on every display device found,
not only the legacy VGA device. This is the same as OvmfPkg does.

Allows to display output on the framebuffer set up by firmware, which might
not be the VGA device.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c