[Intel-gfx] [PATCH] drm/i915: Enable stolen for iommu on snb/ivb
Martin Peres
martin.peres at linux.intel.com
Tue Sep 17 11:39:13 UTC 2019
On 13/09/2019 19:43, Chris Wilson wrote:
> 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.
AFAIK, we still haven't checked that these machines indeed have the
IOMMU enabled yet. Am I wrong?
If I am not, then let's hold the merging of this patch :)
Martin
>
> 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;
>
>
More information about the Intel-gfx
mailing list