Skip to content

Commit 09c3de1

Browse files
Maarten LankhorstBen Skeggs
authored andcommitted
drm/nouveau: fix lock unbalance in nouveau_crtc_page_flip
Fixes a regression introduced by d5c1e84 "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]>
1 parent d83ef85 commit 09c3de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nouveau_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
722722
ret = nouveau_fence_sync(fence, chan);
723723
nouveau_fence_unref(&fence);
724724
if (ret)
725-
goto fail_free;
725+
goto fail_unpin;
726726

727727
ret = ttm_bo_reserve(&old_bo->bo, true, false, false, NULL);
728728
if (ret)

0 commit comments

Comments
 (0)