render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

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

Gerd Hoffmann b0c3af
From 71de9d92e78ae0a7c351f9daf84109bbbaca400a Mon Sep 17 00:00:00 2001
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
Gerd Hoffmann b0c3af
index ab9c93e..d3f5908 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
Gerd Hoffmann b0c3af
@@ -593,7 +593,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
     //
Gerd Hoffmann b0c3af
-- 
Gerd Hoffmann b0c3af
1.8.3.1
Gerd Hoffmann b0c3af