drm/i915: Create a VMA for an object
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:48:48 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:00:55 +0000 (11:00 +0100)
commit81a8aa4a6c8535955c8b795c762489d0edf9a648
tree7800169392a901484073d6ce7bb362c615179a24
parent247177ddd5170d81a0ffb6f4ec2f32c504a4a33d
drm/i915: Create a VMA for an object

In many places, we wish to store the VMA in preference to the object
itself and so being able to create the persistent VMA is useful.

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-9-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h