diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-16 15:21:30 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-19 10:17:39 +0000 |
commit | a01cb37affb7ac698ed260c0e31d02af8df6b785 (patch) | |
tree | 7aedf9ed763ce01101b950897ee394b5ca7ebca7 /drivers/gpu/drm/mediatek/mtk_drm_ddp.c | |
parent | 4ea9527cc03e73afc6a4ac5979d1ecde43b85cf3 (diff) |
drm/i915: Remove i915_vma_create from VMA API
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, so the small overhead is
negligible.
v2: Drop the i915_ prefix from the now static vma_create() function
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170116152131.18089-4-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_ddp.c')
0 files changed, 0 insertions, 0 deletions