提交 811a4cf2 编写于 作者: C Chuanxiao Dong 提交者: Zhenyu Wang

drm/i915/gvt: enable IOMMU for gvt

gvt driver has a check which doesn't allow to use gvt when host
gpu iommu is enabled. This check can be removed after enable the
iommu support in gvt
Signed-off-by: NChuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
上级 b86dc6ed
...@@ -75,13 +75,6 @@ int intel_gvt_init_host(void) ...@@ -75,13 +75,6 @@ int intel_gvt_init_host(void)
if (xen_domain() && !xen_initial_domain()) if (xen_domain() && !xen_initial_domain())
return -ENODEV; return -ENODEV;
#ifdef CONFIG_INTEL_IOMMU
if (intel_iommu_gfx_mapped) {
gvt_err("Hardware IOMMU compatibility not yet supported, try to boot with intel_iommu=igfx_off\n");
return -ENODEV;
}
#endif
/* Try to load MPT modules for hypervisors */ /* Try to load MPT modules for hypervisors */
if (xen_initial_domain()) { if (xen_initial_domain()) {
/* In Xen dom0 */ /* In Xen dom0 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册