render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0009-pick-up-any-display-device-not-only-vga.patch

Gerd Hoffmann b0c3af
From: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann b0c3af
Date: Thu, 13 Mar 2014 08:08:41 +0100
Gerd Hoffmann b0c3af
Subject: [PATCH] pick up any display device, not only vga
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
---
Gerd Hoffmann b0c3af
 OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 2 +-
Gerd Hoffmann b0c3af
 1 file changed, 1 insertion(+), 1 deletion(-)
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
6ac749
index 0bc02ba..5024caf 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
6ac749
@@ -586,7 +586,7 @@ DetectAndPreparePlatformPciDevicePath (
Gerd Hoffmann b0c3af
   //
Gerd Hoffmann b0c3af
   // Here we decide which VGA device to enable in PCI bus
Gerd Hoffmann b0c3af
   //
Gerd Hoffmann b0c3af
-  if (IS_PCI_VGA (Pci)) {
Gerd Hoffmann b0c3af
+  if (IS_PCI_DISPLAY (Pci)) {
Gerd Hoffmann b0c3af
     //
Gerd Hoffmann b0c3af
     // Add them to ConOut.
Gerd Hoffmann b0c3af
     //