mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 19:00:16 +00:00
doc:add tutorial about enabling GVT-d
Previous tutorial "Enable GPU Passthrough on the Skylake NUC" is out of date, so delete it here. v2 -> v1: add attached file Signed-off-by: Junming Liu <junming.liu@intel.com>
This commit is contained in:
62
doc/static/downloads/Integrate-IntelGopDriver-into-OVMF.patch
vendored
Normal file
62
doc/static/downloads/Integrate-IntelGopDriver-into-OVMF.patch
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
From 8bb9e3e2015bea8e45431b31752e56e2e3797640 Mon Sep 17 00:00:00 2001
|
||||
From: Junming Liu <junming.liu@intel.com>
|
||||
Date: Thu, 30 Apr 2020 00:44:11 +0800
|
||||
Subject: [PATCH 2/2] Integrate IntelGopDriver into OVMF
|
||||
|
||||
Tracked-On: projectacrn/acrn-hypervisor#4365
|
||||
|
||||
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
|
||||
Signed-off-by: Junming Liu <junming.liu@intel.com>
|
||||
---
|
||||
OvmfPkg/IntelGop/IntelGopDriver.inf | 17 +++++++++++++++++
|
||||
OvmfPkg/OvmfPkgX64.dsc | 1 +
|
||||
OvmfPkg/OvmfPkgX64.fdf | 1 +
|
||||
3 files changed, 19 insertions(+)
|
||||
create mode 100644 OvmfPkg/IntelGop/IntelGopDriver.inf
|
||||
|
||||
Index: acrn-edk2/OvmfPkg/IntelGop/IntelGopDriver.inf
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ acrn-edk2/OvmfPkg/IntelGop/IntelGopDriver.inf
|
||||
@@ -0,0 +1,17 @@
|
||||
+## @file
|
||||
+# IntelGopDriver Binary
|
||||
+#
|
||||
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
+# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
+#
|
||||
+##
|
||||
+
|
||||
+[Defines]
|
||||
+ INF_VERSION = 0x00010005
|
||||
+ BASE_NAME = IntelGopDriver
|
||||
+ FILE_GUID = 1647B4F3-3E8A-4FDD-81C8-328ED647AB1A
|
||||
+ MODULE_TYPE = UEFI_DRIVER
|
||||
+ VERSION_STRING = 1.0
|
||||
+
|
||||
+[Binaries.X64]
|
||||
+ PE32|IntelGopDriver.efi|*
|
||||
Index: acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
|
||||
===================================================================
|
||||
--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.dsc
|
||||
+++ acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
|
||||
@@ -756,6 +756,7 @@
|
||||
#OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
|
||||
#OvmfPkg/XenBusDxe/XenBusDxe.inf
|
||||
#OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
|
||||
+ OvmfPkg/IntelGop/IntelGopDriver.inf
|
||||
OvmfPkg/Vbt/Vbt.inf
|
||||
OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
|
||||
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
||||
Index: acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
|
||||
===================================================================
|
||||
--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.fdf
|
||||
+++ acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
|
||||
@@ -235,6 +235,7 @@ INF OvmfPkg/GvtGopDxe/GvtGopDxe.inf
|
||||
#INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
|
||||
#INF OvmfPkg/XenBusDxe/XenBusDxe.inf
|
||||
#INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
|
||||
+INF OvmfPkg/IntelGop/IntelGopDriver.inf
|
||||
INF RuleOverride=CSM OvmfPkg/Vbt/Vbt.inf
|
||||
INF OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
|
||||
|
64
doc/static/downloads/Use-the-default-vbt-released-with-GOP-driver.patch
vendored
Normal file
64
doc/static/downloads/Use-the-default-vbt-released-with-GOP-driver.patch
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
From ad5c297dfebc2b7c8379c752ad7f2e6d27740893 Mon Sep 17 00:00:00 2001
|
||||
From: Junming Liu <junming.liu@intel.com>
|
||||
Date: Thu, 30 Apr 2020 00:42:35 +0800
|
||||
Subject: [PATCH 1/2] Use the default vbt released with GOP driver
|
||||
|
||||
This patch use the default vbt which released along with GOP driver.
|
||||
|
||||
Tracked-On: projectacrn/acrn-hypervisor#4365
|
||||
|
||||
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
|
||||
Signed-off-by: Junming Liu <junming.liu@intel.com>
|
||||
---
|
||||
OvmfPkg/OvmfPkgX64.dsc | 1 +
|
||||
OvmfPkg/OvmfPkgX64.fdf | 1 +
|
||||
OvmfPkg/Vbt/Vbt.inf | 17 +++++++++++++++++
|
||||
3 files changed, 19 insertions(+)
|
||||
create mode 100644 OvmfPkg/Vbt/Vbt.inf
|
||||
|
||||
Index: acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
|
||||
===================================================================
|
||||
--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.dsc
|
||||
+++ acrn-edk2/OvmfPkg/OvmfPkgX64.dsc
|
||||
@@ -756,6 +756,7 @@
|
||||
#OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
|
||||
#OvmfPkg/XenBusDxe/XenBusDxe.inf
|
||||
#OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
|
||||
+ OvmfPkg/Vbt/Vbt.inf
|
||||
OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
|
||||
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
||||
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
||||
Index: acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
|
||||
===================================================================
|
||||
--- acrn-edk2.orig/OvmfPkg/OvmfPkgX64.fdf
|
||||
+++ acrn-edk2/OvmfPkg/OvmfPkgX64.fdf
|
||||
@@ -235,6 +235,7 @@ INF OvmfPkg/GvtGopDxe/GvtGopDxe.inf
|
||||
#INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
|
||||
#INF OvmfPkg/XenBusDxe/XenBusDxe.inf
|
||||
#INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
|
||||
+INF RuleOverride=CSM OvmfPkg/Vbt/Vbt.inf
|
||||
INF OvmfPkg/PlatformGopPolicy/PlatformGopPolicy.inf
|
||||
|
||||
!if $(SECURE_BOOT_ENABLE) == TRUE
|
||||
Index: acrn-edk2/OvmfPkg/Vbt/Vbt.inf
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ acrn-edk2/OvmfPkg/Vbt/Vbt.inf
|
||||
@@ -0,0 +1,17 @@
|
||||
+## @file
|
||||
+# Vbt Binary
|
||||
+#
|
||||
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
+# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
+#
|
||||
+##
|
||||
+
|
||||
+[Defines]
|
||||
+ INF_VERSION = 0x00010005
|
||||
+ BASE_NAME = Vbt
|
||||
+ FILE_GUID = 1647B4F3-3E8A-4FEF-81C8-328ED647AB1A
|
||||
+ MODULE_TYPE = USER_DEFINED
|
||||
+ VERSION_STRING = 1.0
|
||||
+
|
||||
+[Binaries]
|
||||
+ BIN|Vbt.bin|*
|
Reference in New Issue
Block a user