drm/i915: Split insertion/binding of an object into the VM
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:25 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:54 +0000 (20:19 +0100)
commit3b16525cc4c1a43e9053cfdc414356eea24bdfad
tree15f0c5f1bfce1f8cacbd5d70e3e026241ed7d0f2
parent37508589903f8ab8b9329df0e7647a45d10a2a7c
drm/i915: Split insertion/binding of an object into the VM

Split the insertion into the address space's range manager and binding
of that object into the GTT to simplify the code flow when pinning a
VMA.

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