Re: [Intel-gfx] [PATCH 2/2] drm/i915: Remove i915_vma_create from VMA API

2017-01-16 Thread Joonas Lahtinen
On ma, 2017-01-16 at 09:49 +, Chris Wilson wrote: > With the introduce of i915_vma_instance() for obtaining the VMA > singleton for a (obj, vm, view) tuple, we can remove the > i915_vma_create() in favour of a single entry point. We do incur a > lookup onto an empty tree, but the i915_vma_creat

[Intel-gfx] [PATCH 2/2] drm/i915: Remove i915_vma_create from VMA API

2017-01-16 Thread Chris Wilson
With the introduce of i915_vma_instance() for obtaining the VMA singleton for a (obj, vm, view) tuple, we can remove the i915_vma_create() in favour of a single entry point. We do incur a lookup onto an empty tree, but the i915_vma_create() were being called infrequently and during initialisation,