mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
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>
This commit is contained in:
parent
6197349bde
commit
5963cf049a
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ void i915_gem_cleanup_aliasing_ppgtt(struct drm_device *dev)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ppgtt->cleanup(ppgtt);
|
ppgtt->cleanup(ppgtt);
|
||||||
|
dev_priv->mm.aliasing_ppgtt = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void i915_ppgtt_bind_object(struct i915_hw_ppgtt *ppgtt,
|
void i915_ppgtt_bind_object(struct i915_hw_ppgtt *ppgtt,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue