]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/QemuVideoDxe/Qemu.h
OvmfPkg/QemuVideoDxe: simplify InitializeBochsGraphicsMode
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jan 2022 09:58:14 +0000 (10:58 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 29 Jan 2022 17:04:21 +0000 (17:04 +0000)
commit7f25ddbc03094da582d9fc667ab89615b865aab1
treea1689b2de6a58b212953c5cf5e6515e7b4547981
parent929804b1721b73452a977f31af2d7de83193301b
OvmfPkg/QemuVideoDxe: simplify InitializeBochsGraphicsMode

struct QEMU_VIDEO_MODE_DATA has all the data needed to set the video
mode, there is no need to take the extra indirection and use
struct QEMU_VIDEO_BOCHS_MODES.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/QemuVideoDxe/Driver.c
OvmfPkg/QemuVideoDxe/Gop.c
OvmfPkg/QemuVideoDxe/Initialize.c
OvmfPkg/QemuVideoDxe/Qemu.h