aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.com>2017-02-08 22:38:38 -0500
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-02-09 01:17:15 -0500
commit811a4cf273afc6f651e0ef3d5400084bf0aeb75e (patch)
treeaefb2dd0290cb7e6305f0701d1ac8a1a749d71ad
parentb86dc6ed20f1543121757da1a77c0f52121d8bf1 (diff)
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: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
-rw-r--r--drivers/gpu/drm/i915/gvt/gvt.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gvt.c
index 9a636a2c2077..3b9d59e457ba 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.c
+++ b/drivers/gpu/drm/i915/gvt/gvt.c
@@ -75,13 +75,6 @@ int intel_gvt_init_host(void)
75 if (xen_domain() && !xen_initial_domain()) 75 if (xen_domain() && !xen_initial_domain())
76 return -ENODEV; 76 return -ENODEV;
77 77
78#ifdef CONFIG_INTEL_IOMMU
79 if (intel_iommu_gfx_mapped) {
80 gvt_err("Hardware IOMMU compatibility not yet supported, try to boot with intel_iommu=igfx_off\n");
81 return -ENODEV;
82 }
83#endif
84
85 /* Try to load MPT modules for hypervisors */ 78 /* Try to load MPT modules for hypervisors */
86 if (xen_initial_domain()) { 79 if (xen_initial_domain()) {
87 /* In Xen dom0 */ 80 /* In Xen dom0 */