mirror of https://github.com/acidanthera/audk.git
49a2d8cbf5
Check whenever an EDID blob is present. In case it is get the display resolution from it. Unless PcdVideoResolutionSource indicates the display resolution has been set already, update PcdVideoHorizontalResolution and PcdVideoVerticalResolution accordingly. Also add the resolution to the mode list. This will make OVMF boot up with the display resolution configured by QEMU, which is 1280x800 by default. The resolution can be set using the xres and yres properties. Here is an example for FullHD: qemu-system-x86_64 -device VGA,xres=1920,yres=1080 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3778 Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1749250 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> |
||
---|---|---|
.. | ||
ComponentName.c | ||
Driver.c | ||
Gop.c | ||
Initialize.c | ||
Qemu.h | ||
QemuVideoDxe.inf | ||
VbeShim.asm | ||
VbeShim.c | ||
VbeShim.h | ||
VbeShim.sh |