diff options
| author | Chris Wilson <[email protected]> | 2017-01-16 15:21:28 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-01-19 10:15:26 +0000 |
| commit | 718659a63054261d052cd94f2f9502111ff5173f (patch) | |
| tree | 905327dcc07eb6575164567a33b42f73af09b641 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Track pinned vma in intel_plane_state (diff) | |
| download | kernel-718659a63054261d052cd94f2f9502111ff5173f.tar.gz kernel-718659a63054261d052cd94f2f9502111ff5173f.zip | |
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 <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
