drm/i915: Move allocate_va_range to GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 08:43:42 +0000 (08:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 10:07:21 +0000 (10:07 +0000)
commitff685975d97f8cb28e2fe4e6d90a71fd93244815
tree92fb0a680eaf87a43f45c333a0bb93fa2c95123e
parent9231da70b338b336b982c74fad4afab5b55e6534
drm/i915: Move allocate_va_range to GTT

In the future, we need to call allocate_va_range on the aliasing-ppgtt
which means moving the call down from the vma into the vm (which is
more appropriate for calling the vm function).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170215084357.19977-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_vma.c