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

Arvind Yadav posted 3 patches 3 years, 6 months ago
There is a newer version of this series
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(-)
[PATCH 0/3] dma-buf: Check status of enable-signaling bit on debug
Posted by Arvind Yadav 3 years, 6 months ago
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