git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2414ee
)
drm/nouveau: when bailing out of a pushbuf ioctl, do not remove previous fence
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 13 Nov 2013 05:18:32 +0000
(15:18 +1000)
committer
Ben Hutchings
<ben@decadent.org.uk>
Fri, 3 Jan 2014 04:33:21 +0000
(
04:33
+0000)
commit
9360bd1112d8874d21942e2ae74f5416b00a8db6
upstream.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/nouveau/nouveau_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_gem.c
b/drivers/gpu/drm/nouveau/nouveau_gem.c
index
7ce3fde
..
bd0b1fc
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_gem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_gem.c
@@
-281,7
+281,8
@@
validate_fini_list(struct list_head *list, struct nouveau_fence *fence)
list_for_each_safe(entry, tmp, list) {
nvbo = list_entry(entry, struct nouveau_bo, entry);
- nouveau_bo_fence(nvbo, fence);
+ if (likely(fence))
+ nouveau_bo_fence(nvbo, fence);
if (unlikely(nvbo->validate_mapped)) {
ttm_bo_kunmap(&nvbo->kmap);