[Intel-gfx] [PATCH 07/21] drm/i915: introduce vm set_pages/clear_pages

Chris Wilson chris at chris-wilson.co.uk
Sat Sep 23 08:43:04 UTC 2017


Quoting Matthew Auld (2017-09-22 18:32:38)
> 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 at chris-wilson.co.uk>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list