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:
0ad98c7
)
drm/i915: Remove wrong warning from i915_gem_context_clean
author
Tvrtko Ursulin
<
[email protected]
>
Thu, 8 Oct 2015 14:37:00 +0000
(15:37 +0100)
committer
Daniel Vetter
<
[email protected]
>
Fri, 9 Oct 2015 08:19:48 +0000
(10:19 +0200)
commit
e9f24d5fb7cf3628b195b18ff3ac4e37937ceeae
Author: Tvrtko Ursulin <
[email protected]
>
Date: Mon Oct 5 13:26:36 2015 +0100
drm/i915: Clean up associated VMAs on context destruction
Introduced a wrong assumption that all contexts have a ppgtt
instance. This is not true when full PPGTT is not active so
remove the WARN_ON_ONCE from the context cleanup code.
Signed-off-by: Tvrtko Ursulin <
[email protected]
>
Cc: Michel Thierry <
[email protected]
>
Reviewed-by: Michel Thierry <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_gem_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_context.c
b/drivers/gpu/drm/i915/i915_gem_context.c
index 680b4c9f6b739257397fd393be1a253e3ee27f3d..8c688a5f1589316b3f303d9a5b90857af7e112f8 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_context.c
+++ b/
drivers/gpu/drm/i915/i915_gem_context.c
@@
-138,7
+138,7
@@
static void i915_gem_context_clean(struct intel_context *ctx)
struct i915_hw_ppgtt *ppgtt = ctx->ppgtt;
struct i915_vma *vma, *next;
- if (
WARN_ON_ONCE(!ppgtt)
)
+ if (
!ppgtt
)
return;
WARN_ON(!list_empty(&ppgtt->base.active_list));