drm/i915: Don't special case teardown of aliasing_ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 08:43:38 +0000 (08:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Feb 2017 10:05:53 +0000 (10:05 +0000)
commit1188bc66eb33e64ac7452b5acd62ce0395204148
tree29b546acf71a0e0fff864ad7c15f859788c0111f
parent894ccebee2b0e606ba9638d20dd87b33568482d7
drm/i915: Don't special case teardown of aliasing_ppgtt

The aliasing_ppgtt is a regular ppgtt, and we can use the regular
i915_ppgtt_put() to properly tear it down.

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-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c