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 <ch...@chris-wilson.co.uk> > Signed-off-by: Matthew Auld <matthew.a...@intel.com> > Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com> > Cc: Chris Wilson <ch...@chris-wilson.co.uk> Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 06/21] drm/i915: introduce page_size memb... Matthew Auld
- [Intel-gfx] [PATCH 04/21] drm/i915: introduce page_sizes fie... Matthew Auld
- [Intel-gfx] [PATCH 02/21] drm/i915: introduce simple gemfs Matthew Auld
- [Intel-gfx] [PATCH 08/21] drm/i915: align the vma start to t... Matthew Auld
- [Intel-gfx] [PATCH 07/21] drm/i915: introduce vm set_pages/c... Matthew Auld
- Re: [Intel-gfx] [PATCH 07/21] drm/i915: introduce vm se... Chris Wilson
- [Intel-gfx] [PATCH 01/21] mm/shmem: introduce shmem_file_set... Matthew Auld
- [Intel-gfx] [PATCH 12/21] drm/i915: support 2M pages for the... Matthew Auld
- [Intel-gfx] [PATCH 15/21] drm/i915: accurate page size track... Matthew Auld
- [Intel-gfx] [PATCH 13/21] drm/i915: add support for 64K scra... Matthew Auld
- [Intel-gfx] [PATCH 11/21] drm/i915: disable GTT cache for 2M... Matthew Auld
- [Intel-gfx] [PATCH 16/21] drm/i915/debugfs: include some gtt... Matthew Auld