[Intel-gfx] [PATCH] drm/i915: Enable stolen for iommu on snb/ivb
Chris Wilson
chris at chris-wilson.co.uk
Fri Sep 13 16:43:37 UTC 2019
Now that we have CI testing of iommu, let's enable stolen + iommu with a
lot more confidence that we can diagnose any potential erors.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Martin Peres <martin.peres at linux.intel.com>
---
drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
index bfbc3e3daf92..c52ecf525c24 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
@@ -369,13 +369,6 @@ int i915_gem_init_stolen(struct drm_i915_private *dev_priv)
return 0;
}
- if (intel_vtd_active() && INTEL_GEN(dev_priv) < 8) {
- dev_notice(dev_priv->drm.dev,
- "%s, disabling use of stolen memory\n",
- "DMAR active");
- return 0;
- }
-
if (resource_size(&intel_graphics_stolen_res) == 0)
return 0;
--
2.23.0
More information about the Intel-gfx
mailing list