[Intel-gfx] [PATCH] Revert "drm/i915: Introduce private PAT management"

Chris Wilson chris at chris-wilson.co.uk
Sun Mar 24 13:47:08 UTC 2019


Quoting Michał Winiarski (2019-03-22 16:20:37)
>  static int gen8_gmch_probe(struct i915_ggtt *ggtt)
> @@ -3517,14 +3327,6 @@ void i915_gem_restore_gtt_mappings(struct drm_i915_private *dev_priv)
>         i915_ggtt_invalidate(dev_priv);
>  
>         mutex_unlock(&ggtt->vm.mutex);
> -
> -       if (INTEL_GEN(dev_priv) >= 8) {
> -               struct intel_ppat *ppat = &dev_priv->ppat;
> -
> -               bitmap_set(ppat->dirty, 0, ppat->max_entries);
> -               dev_priv->ppat.update_hw(dev_priv);

Missed on the first pass, do we need to keep the restore, i.e. call
setup_private_pat() again?
-Chris


More information about the Intel-gfx mailing list