diff options
author | Christian König <christian.koenig@amd.com> | 2021-09-23 13:57:42 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-11-11 09:35:13 +0100 |
commit | a25efb3863d068929f0bbeb87a995df11507e691 (patch) | |
tree | b43a55873cc98ab05efd650af21ec82ed8c57851 /include/linux/dma-resv.h | |
parent | 781050b0a3164934857c300bb0bc291e38c26b6f (diff) |
dma-buf: add dma_fence_describe and dma_resv_describe v2
Add functions to dump dma_fence and dma_resv objects into a seq_file and
use them for printing the debugfs information.
v2: fix missing include reported by test robot.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211103081231.18578-2-christian.koenig@amd.com
Diffstat (limited to 'include/linux/dma-resv.h')
-rw-r--r-- | include/linux/dma-resv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-resv.h b/include/linux/dma-resv.h index dbd235ab447f..09c6063b199a 100644 --- a/include/linux/dma-resv.h +++ b/include/linux/dma-resv.h @@ -490,5 +490,6 @@ int dma_resv_copy_fences(struct dma_resv *dst, struct dma_resv *src); long dma_resv_wait_timeout(struct dma_resv *obj, bool wait_all, bool intr, unsigned long timeout); bool dma_resv_test_signaled(struct dma_resv *obj, bool test_all); +void dma_resv_describe(struct dma_resv *obj, struct seq_file *seq); #endif /* _LINUX_RESERVATION_H */ |