mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 13:59:18 +00:00
Revert "hv: More changes to enable GPU passthru"
This reverts commit 8d50d40ff8
.
This commit is contained in:
@@ -270,6 +270,13 @@ handle_one_drhd(struct acpi_dmar_hardware_unit *acpi_drhd,
|
||||
|
||||
consumed = handle_dmar_devscope(dev_scope, cp, remaining);
|
||||
|
||||
if (((drhd->segment << 16) |
|
||||
(dev_scope->bus << 8) |
|
||||
dev_scope->devfun) == CONFIG_GPU_SBDF) {
|
||||
ASSERT(dev_count == 1, "no dedicated iommu for gpu");
|
||||
drhd->ignore = true;
|
||||
}
|
||||
|
||||
if (consumed <= 0)
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user