drm/i915: Extract common cleanup into i915_ppgtt_release
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 13:04:55 +0000 (15:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Aug 2014 12:23:34 +0000 (14:23 +0200)
commit19dd120ceee085dbac70b1b01bd09d599cf87bd0
treedbd5f5d981ebc3fedebee8738fc1e10b068e845d
parentd624d86e1e3b69cadb2dad42588e71e9a3b6d70a
drm/i915: Extract common cleanup into i915_ppgtt_release

Address space cleanup isn't really a job for the low-level cleanup
callbacks. Without this change we can't reuse the low-level cleanup
callback for the aliasing ppgtt cleanup.

Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c