summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/QemuVideoDxe
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-05-17 11:21:33 +0200
committerLaszlo Ersek <lersek@redhat.com>2018-05-17 12:50:52 +0200
commit333f32ec23ddf87530aff58a10430871e5bea6e9 (patch)
treefc16e07a53b188371386a12e22f2b084c2f66c16 /OvmfPkg/QemuVideoDxe
parent70dbd16361eeccb25f6dda0aee38f6cc4eac2120 (diff)
downloadedk2-333f32ec23ddf87530aff58a10430871e5bea6e9.tar.gz
edk2-333f32ec23ddf87530aff58a10430871e5bea6e9.tar.bz2
edk2-333f32ec23ddf87530aff58a10430871e5bea6e9.zip
OvmfPkg/QemuVideoDxe: Enable DISPLAY_OTHER pci class for qemu stdvga
This makes QemuVideo bind to the secondary-vga device. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/QemuVideoDxe')
-rw-r--r--OvmfPkg/QemuVideoDxe/Driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c
index 2d7ad43cb3..73eb2cad05 100644
--- a/OvmfPkg/QemuVideoDxe/Driver.c
+++ b/OvmfPkg/QemuVideoDxe/Driver.c
@@ -54,6 +54,12 @@ QEMU_VIDEO_CARD gQemuVideoCardList[] = {
QEMU_VIDEO_BOCHS_MMIO,
L"QEMU Standard VGA"
},{
+ PCI_CLASS_DISPLAY_OTHER,
+ 0x1234,
+ 0x1111,
+ QEMU_VIDEO_BOCHS_MMIO,
+ L"QEMU Standard VGA (secondary)"
+ },{
PCI_CLASS_DISPLAY_VGA,
0x1b36,
0x0100,