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:
d83ef85
)
drm/nouveau: fix lock unbalance in nouveau_crtc_page_flip
author
Maarten Lankhorst
<
[email protected]
>
Wed, 29 Jan 2014 10:05:09 +0000
(11:05 +0100)
committer
Ben Skeggs
<
[email protected]
>
Wed, 29 Jan 2014 23:20:28 +0000
(09:20 +1000)
Fixes a regression introduced by
d5c1e84b3a130f0
"drm/nouveau: hold mutex while syncing to kernel channel".
Cc:
[email protected]
#3.13
Reported-by: Fengguang Wu <
[email protected]
>
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/nouveau_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_display.c
b/drivers/gpu/drm/nouveau/nouveau_display.c
index 02a65259d8fb081ca90bcdd6835bc60013a6dfa7..24011596af434276bbe1b9a82a26252229c20c5a 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_display.c
@@
-722,7
+722,7
@@
nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
ret = nouveau_fence_sync(fence, chan);
nouveau_fence_unref(&fence);
if (ret)
- goto fail_
free
;
+ goto fail_
unpin
;
ret = ttm_bo_reserve(&old_bo->bo, true, false, false, NULL);
if (ret)