On Fri, 2017-09-29 at 17:10 +0100, Matthew Auld wrote: > Move the setting/clearing of the vma->pages to a vm operation. Doing so > neatens things up a little, but more importantly gives us a sane place > to also set/clear the vma->pages_sizes, which we introduce later in > preparation for supporting huge-pages. > > v2: remove redundant vma->pages check > > v3: GEM_BUG_ON(vma->pages) following i915_vma_remove > > Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Matthew Auld <matthew.auld@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx