diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-08-27 00:56:59 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-09-01 14:28:28 +0200 |
commit | db52890926b6ecff9a416b3beda9c97c83f9fc60 (patch) | |
tree | 73aa8e9d9bd016740aaffb25a9455cc4a4cc8911 /OvmfPkg | |
parent | f10ae923665fae7dff10a58a70f83e4be3409436 (diff) | |
download | edk2-db52890926b6ecff9a416b3beda9c97c83f9fc60.zip edk2-db52890926b6ecff9a416b3beda9c97c83f9fc60.tar.gz edk2-db52890926b6ecff9a416b3beda9c97c83f9fc60.tar.bz2 |
OvmfPkg/VirtioGpuDxe: negotiate VIRTIO_F_IOMMU_PLATFORM
VirtioGpuDxe is now IOMMU-clean; it translates system memory addresses to
bus master device addresses. Negotiate VIRTIO_F_IOMMU_PLATFORM in parallel
with VIRTIO_F_VERSION_1. (Note: the VirtIo GPU device, and this driver,
are virtio-1.0 only (a.k.a. "modern-only").)
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/VirtioGpuDxe/Commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/VirtioGpuDxe/Commands.c b/OvmfPkg/VirtioGpuDxe/Commands.c index db5bdbc..6e70b1c 100644 --- a/OvmfPkg/VirtioGpuDxe/Commands.c +++ b/OvmfPkg/VirtioGpuDxe/Commands.c @@ -90,7 +90,7 @@ VirtioGpuInit ( //
// We only want the most basic 2D features.
//
- Features &= VIRTIO_F_VERSION_1;
+ Features &= VIRTIO_F_VERSION_1 | VIRTIO_F_IOMMU_PLATFORM;
//
// ... and write the subset of feature bits understood by the [...] driver to
|