projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6197349
)
drm/i915: NULL aliasing_ppgtt on cleanup
author
Ben Widawsky
<
[email protected]
>
Tue, 9 Apr 2013 01:43:55 +0000
(18:43 -0700)
committer
Daniel Vetter
<
[email protected]
>
Thu, 18 Apr 2013 07:43:15 +0000
(09:43 +0200)
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 <
[email protected]
>
[danvet: Spill the secrets about failing ppgtt init.]
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_gem_gtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index c56de21af910f13d33ccd7335990cdd5c0649293..d32912e07bad09648ba4360a50ee5035411d6575 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/
drivers/gpu/drm/i915/i915_gem_gtt.c
@@
-316,6
+316,7
@@
void i915_gem_cleanup_aliasing_ppgtt(struct drm_device *dev)
return;
ppgtt->cleanup(ppgtt);
+ dev_priv->mm.aliasing_ppgtt = NULL;
}
void i915_ppgtt_bind_object(struct i915_hw_ppgtt *ppgtt,