projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c405f5
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:14 +0000
(10:57 -0800)
commit
9360bd1112d8874d21942e2ae74f5416b00a8db6
upstream.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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
b4b4d0c
..
5bccf31
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_gem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_gem.c
@@
-287,7
+287,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);