[PATCH 0/3] dma-buf: Check status of enable-signaling bit on debug

Arvind Yadav Arvind.Yadav at amd.com
Tue Sep 27 17:24:06 UTC 2022


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



More information about the dri-devel mailing list