]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd37a5f8e1a771a7f67424f47bcc4b0b077720cff
tree92fb0a680eaf87a43f45c333a0bb93fa2c95123e
parent3f3c4497b5f79395314283fd6e73e1946ce2d677
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