drm/i915: Unduplicate i915_ggtt_unbind/bind_vma
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Apr 2015 15:35:25 +0000 (17:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Apr 2015 19:07:06 +0000 (21:07 +0200)
commitd369d2d9683dd98afbc7a37c1119d7a317790c47
tree5910607742ca88166ecbd4c02e377a4c5a9eb1ff
parent4755265977159be0261972da2ba54917765b18ed
drm/i915: Unduplicate i915_ggtt_unbind/bind_vma

ggtt_bind/unbind_vma already has checks for aliasing ppgtt or not,
there's nothing else magic they do. Resurrect i915_ggtt_insert_entries
to make the reuse possibel.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c