drm/i915: Clean up aliasing ppgtt correctly on error paths
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Apr 2015 15:35:13 +0000 (17:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Apr 2015 15:54:44 +0000 (08:54 -0700)
commit061dd493103f14f768475fa666f39377f41814bb
treeadece0b4583478c544eb6230dc3e8c1c93d01114
parent777dc5bb26a5aff916af1b6ee84ed7dc8cac1245
drm/i915: Clean up aliasing ppgtt correctly on error paths

While at it inline the free functions - they don't actually free the
ppgtt, just clean up the allocations done for it.

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