diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-16 15:21:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-19 10:15:26 +0000 |
commit | 718659a63054261d052cd94f2f9502111ff5173f (patch) | |
tree | 905327dcc07eb6575164567a33b42f73af09b641 /tools/usb | |
parent | be1e341513ca23b0668b7b0f26fa6e2ffc46ba20 (diff) | |
download | linux-718659a63054261d052cd94f2f9502111ff5173f.tar.bz2 |
drm/i915: Rename some warts in the VMA API
Whilst writing testcases to exercise the VMA API, some oddities came to
light, such as i915_gem_obj_lookup_or_create(). Joonas suggested
i915_vma_instance() as a neat replacement, so rename them, move them to
i915_vma.c and add some kerneldoc as a sugary bonus.
s/i915_gem_obj_to_vma/i915_vma_lookup/
s/i915_gem_obj_lookup_or_create_vma/i915_vma_instance/
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170116152131.18089-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions