mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] dma-buf: Check status of enable-signaling bit on debug
@ 2022-09-27 17:24 Arvind Yadav
  2022-09-27 17:24 ` [PATCH 1/3] dma-buf: Remove the signaled bit status check Arvind Yadav
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Arvind Yadav @ 2022-09-27 17:24 UTC (permalink / raw)
  To: Christian.Koenig, andrey.grodzovsky, shashank.sharma,
	amaranath.somalapuram, Arunpravin.PaneerSelvam, sumit.semwal,
	gustavo, airlied, daniel, linux-media, dri-devel, linaro-mm-sig,
	linux-kernel
  Cc: Arvind Yadav

Fence signaling must be enabled to make sure that
the dma_fence_is_signaled() and dma_fence_is_signaled_locked()
function ever returns true. Since drivers and implementations
sometimes mess this up, this ensures correct behaviour when
DEBUG_WW_MUTEX_SLOWPATH is used during debugging.
This should make any implementation bugs resulting in not
signaled fences much more obvious.


Arvind Yadav (3):
  [PATCH 1/3] dma-buf: Remove the signaled bit status check
  [PATCH 2/3] dma-buf: Enable signaling on fence for sw_sync
  [PATCH 3/3] dma-buf: Check status of enable-signaling bit on debug

 drivers/dma-buf/dma-fence.c | 5 -----
 drivers/dma-buf/sw_sync.c   | 2 ++
 include/linux/dma-fence.h   | 5 +++++
 3 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-09-30  7:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 17:24 [PATCH 0/3] dma-buf: Check status of enable-signaling bit on debug Arvind Yadav
2022-09-27 17:24 ` [PATCH 1/3] dma-buf: Remove the signaled bit status check Arvind Yadav
2022-09-29 18:14   ` Christian König
2022-09-27 17:24 ` [PATCH 2/3] dma-buf: Enable signaling on fence for sw_sync Arvind Yadav
2022-09-29 18:17   ` Christian König
2022-09-27 17:24 ` [PATCH 3/3] dma-buf: Check status of enable-signaling bit on debug Arvind Yadav
2022-09-29 18:18   ` Christian König
2022-09-29 18:30     ` Yadav, Arvind
2022-09-29 18:32       ` Christian König
2022-09-30  7:32         ` Yadav, Arvind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®