All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dma-buf/fence: add an lockdep_assert_held()
@ 2016-10-24 19:57 Rob Clark
  2016-10-24 20:11 ` Chris Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Clark @ 2016-10-24 19:57 UTC (permalink / raw)
  To: dri-devel

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
Hmm, looks like I forgot to send this..

 drivers/dma-buf/fence.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/dma-buf/fence.c b/drivers/dma-buf/fence.c
index 4d51f9e..cc05ddd 100644
--- a/drivers/dma-buf/fence.c
+++ b/drivers/dma-buf/fence.c
@@ -68,6 +68,8 @@ int fence_signal_locked(struct fence *fence)
 	struct fence_cb *cur, *tmp;
 	int ret = 0;
 
+	lockdep_assert_held(fence->lock);
+
 	if (WARN_ON(!fence))
 		return -EINVAL;
 
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dma-buf/fence: add an lockdep_assert_held()
  2016-10-24 19:57 [PATCH] dma-buf/fence: add an lockdep_assert_held() Rob Clark
@ 2016-10-24 20:11 ` Chris Wilson
  2016-10-25  6:54   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2016-10-24 20:11 UTC (permalink / raw)
  To: Rob Clark; +Cc: dri-devel

On Mon, Oct 24, 2016 at 03:57:10PM -0400, Rob Clark wrote:
> Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dma-buf/fence: add an lockdep_assert_held()
  2016-10-24 20:11 ` Chris Wilson
@ 2016-10-25  6:54   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2016-10-25  6:54 UTC (permalink / raw)
  To: Chris Wilson, Rob Clark, dri-devel

On Mon, Oct 24, 2016 at 09:11:16PM +0100, Chris Wilson wrote:
> On Mon, Oct 24, 2016 at 03:57:10PM -0400, Rob Clark wrote:
> > Signed-off-by: Rob Clark <robdclark@gmail.com>
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>

Applied to drm-misc, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-25  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24 19:57 [PATCH] dma-buf/fence: add an lockdep_assert_held() Rob Clark
2016-10-24 20:11 ` Chris Wilson
2016-10-25  6:54   ` Daniel Vetter

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.