drm/i915: NULL aliasing_ppgtt on cleanup
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 9 Apr 2013 01:43:55 +0000 (18:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:43:15 +0000 (09:43 +0200)
commit5963cf049a044f41be7dc90c83756fb245f038b4
tree09cc0a87e6241ac7fe72b29c1b566a96085b0aac
parent6197349bdeb97ee6f533990617c51c67ac233f79
drm/i915: NULL aliasing_ppgtt on cleanup

This will allow us to carry on if we've cleaned up the PPGTT. The usage
for this is coming up - it simplifies handling a failed PPGTT init.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Spill the secrets about failing ppgtt init.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c