mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 12:42:54 +00:00
hv: More changes to enable GPU passthru
Allow the IOMMU for GPU PCI device. Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Junming Liu <junming.liu@intel.com> Tracked-On: #4360
This commit is contained in:
parent
9dd6ef600d
commit
e13c6dec92
@ -204,12 +204,14 @@ handle_one_drhd(struct acpi_dmar_hardware_unit *acpi_drhd,
|
||||
|
||||
consumed = handle_dmar_devscope(dev_scope, cp, remaining);
|
||||
|
||||
/*
|
||||
if (((drhd->segment << 16U) |
|
||||
(dev_scope->bus << 8U) |
|
||||
dev_scope->devfun) == CONFIG_GPU_SBDF) {
|
||||
ASSERT(dev_count == 1, "no dedicated iommu for gpu");
|
||||
drhd->ignore = true;
|
||||
}
|
||||
*/
|
||||
|
||||
if (consumed <= 0)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user