Re: [Intel-gfx] [PATCH] drm/i915: Convert open-coded use of vma_pages()

2016-10-11 Thread Matthew Auld
On 11 October 2016 at 10:06, Chris Wilson wrote: > If we want to know how many pages a VMA spans, we can use vma_pages() to > find out. We have one such invocation inside our faulthandler, so > convert it. (We have two other that want the size in bytes rather than > pages, food for future thought.

[Intel-gfx] [PATCH] drm/i915: Convert open-coded use of vma_pages()

2016-10-11 Thread Chris Wilson
If we want to know how many pages a VMA spans, we can use vma_pages() to find out. We have one such invocation inside our faulthandler, so convert it. (We have two other that want the size in bytes rather than pages, food for future thought.) Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/