Home
last modified time | relevance | path

Searched refs:iommu_info (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_iommu.c41 struct amd_iommu_device_info iommu_info; in kfd_iommu_check_device() local
47 iommu_info.flags = 0; in kfd_iommu_check_device()
48 err = amd_iommu_device_info(kfd->pdev, &iommu_info); in kfd_iommu_check_device()
52 if ((iommu_info.flags & required_iommu_flags) != required_iommu_flags) in kfd_iommu_check_device()
62 struct amd_iommu_device_info iommu_info; in kfd_iommu_device_init() local
72 iommu_info.flags = 0; in kfd_iommu_device_init()
73 err = amd_iommu_device_info(kfd->pdev, &iommu_info); in kfd_iommu_device_init()
80 if ((iommu_info.flags & required_iommu_flags) != required_iommu_flags) { in kfd_iommu_device_init()
83 (iommu_info.flags & AMD_IOMMU_DEVICE_FLAG_ATS_SUP) != 0, in kfd_iommu_device_init()
84 (iommu_info.flags & AMD_IOMMU_DEVICE_FLAG_PRI_SUP) != 0, in kfd_iommu_device_init()
[all …]
/Linux-v5.4/Documentation/driver-api/
Dvfio.rst172 struct vfio_iommu_type1_info iommu_info = { .argsz = sizeof(iommu_info) };
201 ioctl(container, VFIO_IOMMU_GET_INFO, &iommu_info);