commit | 19880c4a3f19a8ff116e992c2f79459b7c2d15c7 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Aug 15 10:49:05 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Aug 15 11:01:12 2016 +0100 |
tree | bb637171e34a73643ff8dc0c166f4db2634783ff | |
parent | 48bb74e48bc2cd106d7ed7697377c08d149f2633 [diff] |
drm/i915: Consolidate i915_vma_unpin_and_release() In a few places, we repeat a call to clear a pointer to a vma whilst unpinning and releasing a reference to its owner. Refactor those into a common 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/1471254551-25805-26-git-send-email-chris@chris-wilson.co.uk