All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/nouveau: fix lock unbalance in nouveau_crtc_page_flip
@ 2014-01-29 10:05 Maarten Lankhorst
  0 siblings, 0 replies; only message in thread
From: Maarten Lankhorst @ 2014-01-29 10:05 UTC (permalink / raw)
  To: Ben Skeggs
  Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	Fengguang Wu,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Fixes a regression introduced by d5c1e84b3a130f0
"drm/nouveau: hold mutex while syncing to kernel channel".

Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org #3.13
Reported-by: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
---
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index b4262ad66b18..4d81c04b76c8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -642,7 +642,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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-29 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 10:05 [PATCH] drm/nouveau: fix lock unbalance in nouveau_crtc_page_flip Maarten Lankhorst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.