public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Colin Xu" <colin.xu@intel.com>
To: devel@edk2.groups.io
Cc: rebecca@bsdio.com, colin.xu@intel.com
Subject: [PATCH 2/2] OvmfPkg/IntelGvtGopDxe: Enable GVT-g GOP in OvmfPkg DSC & DFD.
Date: Fri,  5 Mar 2021 10:49:49 +0800	[thread overview]
Message-ID: <1fbb8eaeb04876f59bb4bfa73589134e5f6fd44a.1614846031.git.colin.xu@intel.com> (raw)
In-Reply-To: <cover.1614846031.git.colin.xu@intel.com>

Intel GVT-g is already enabled by default in upstream kernel.

Signed-off-by: Colin Xu <colin.xu@intel.com>
---
 OvmfPkg/OvmfPkgX64.dsc | 4 ++++
 OvmfPkg/OvmfPkgX64.fdf | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
index fabb8b2f29e4..971fd262151b 100644
--- a/OvmfPkg/OvmfPkgX64.dsc
+++ b/OvmfPkg/OvmfPkgX64.dsc
@@ -52,6 +52,7 @@
   DEFINE PVSCSI_ENABLE           = TRUE
   DEFINE MPT_SCSI_ENABLE         = TRUE
   DEFINE LSI_SCSI_ENABLE         = FALSE
+  DEFINE INTEL_GVT_KVMGT_ENABLE  = TRUE
 
   #
   # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
@@ -808,6 +809,9 @@
 !endif
 !if $(LSI_SCSI_ENABLE) == TRUE
   OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
+!endif
+!if $(INTEL_GVT_KVMGT_ENABLE) == TRUE
+  OvmfPkg/IntelGvtGopDxe/IntelGvtGopDxe.inf
 !endif
   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
index d519f8532822..6d0bcf3fcd31 100644
--- a/OvmfPkg/OvmfPkgX64.fdf
+++ b/OvmfPkg/OvmfPkgX64.fdf
@@ -252,6 +252,9 @@ INF  OvmfPkg/MptScsiDxe/MptScsiDxe.inf
 !if $(LSI_SCSI_ENABLE) == TRUE
 INF  OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
 !endif
+!if $(INTEL_GVT_KVMGT_ENABLE) == TRUE
+INF  OvmfPkg/IntelGvtGopDxe/IntelGvtGopDxe.inf
+!endif
 
 !if $(SECURE_BOOT_ENABLE) == TRUE
   INF  SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
-- 
2.30.1


      parent reply	other threads:[~2021-03-05  2:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-05  2:49 [PATCH 0/2] OvmfPkg/IntelGvtGopDxe: Add Intel GVT-g GOP Colin Xu
2021-03-05  2:49 ` [PATCH 1/2] OvmfPkg/IntelGvtGopDxe: Intel GVT-g GOP Implementation Colin Xu
2021-03-05  2:49 ` Colin Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1fbb8eaeb04876f59bb4bfa73589134e5f6fd44a.1614846031.git.colin.xu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox