1From 8bb9e3e2015bea8e45431b31752e56e2e3797640 Mon Sep 17 00:00:00 2001
2From: Junming Liu <junming.liu@intel.com>
3Date: Thu, 30 Apr 2020 00:44:11 +0800
4Subject: [PATCH 2/2] Integrate IntelGopDriver into OVMF
5
6Tracked-On: projectacrn/acrn-hypervisor#4365
7
8Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
9Signed-off-by: Junming Liu <junming.liu@intel.com>
10---
11 OvmfPkg/IntelGop/IntelGopDriver.inf | 17 +++++++++++++++++
12 OvmfPkg/OvmfPkgX64.dsc              |  1 +
13 OvmfPkg/OvmfPkgX64.fdf              |  1 +
14 3 files changed, 19 insertions(+)
15 create mode 100644 OvmfPkg/IntelGop/IntelGopDriver.inf
16
17Index: acrn-edk2/OvmfPkg/IntelGop/IntelGopDriver.inf
18===================================================================
19--- /dev/null
20+++ acrn-edk2/OvmfPkg/IntelGop/IntelGopDriver.inf
21@@ -0,0 +1,17 @@
22+## @file
23+#  IntelGopDriver Binary
24+#
25+#  Copyright (c) 2006 - 2011, Intel Corporation.<BR>
26+#  SPDX-License-Identifier: BSD-2-Clause-Patent
27+#
28+##
29+
30+[Defines]
31+  INF_VERSION                    = 0x00010005
32+  BASE_NAME                      = IntelGopDriver
33+  FILE_GUID                      = 1647B4F3-3E8A-4FDD-81C8-328ED647AB1A
34+  MODULE_TYPE                    = UEFI_DRIVER
35+  VERSION_STRING                 = 1.0
36+
37+[Binaries.X64]
38+  PE32|IntelGopDriver.efi|*
39Index: acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
40===================================================================
41--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.dsc
42+++ acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
43@@ -756,6 +756,7 @@
44   #OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
45   #OvmfPkg/XenBusDxe/XenBusDxe.inf
46   #OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
47+  OvmfPkg/IntelGop/IntelGopDriver.inf
48   OvmfPkg/Vbt/Vbt.inf
49   OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
50   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
51Index: acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
52===================================================================
53--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.fdf
54+++ acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
55@@ -235,6 +235,7 @@ INF  OvmfPkg/GvtGopDxe/GvtGopDxe.inf
56 #INF  OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
57 #INF  OvmfPkg/XenBusDxe/XenBusDxe.inf
58 #INF  OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
59+INF  OvmfPkg/IntelGop/IntelGopDriver.inf
60 INF  RuleOverride=CSM OvmfPkg/Vbt/Vbt.inf
61 INF  OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
62
63