[Intel-gfx] [PATCH 13/19] drm/i915: accurate page size tracking for the ppgtt

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 21 21:57:02 UTC 2017


Quoting Matthew Auld (2017-06-21 21:33:39)
>  static int aliasing_gtt_bind_vma(struct i915_vma *vma,
> @@ -2535,6 +2549,8 @@ static void aliasing_gtt_unbind_vma(struct i915_vma *vma)
>  
>                 vm->clear_range(vm, vma->node.start, vma->size);
>         }
> +
> +       vma->page_sizes.gtt = 0;

One might suggest where vma->pages get sets to NULL might be a good
place to memclear(vma->page_sizes);
-Chris


More information about the Intel-gfx mailing list