OSDN Git Service

dma-buf: add dma_fence_describe and dma_resv_describe v2
authorChristian König <christian.koenig@amd.com>
Thu, 23 Sep 2021 11:57:42 +0000 (13:57 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 11 Nov 2021 08:35:13 +0000 (09:35 +0100)
commita25efb3863d068929f0bbeb87a995df11507e691
treeb43a55873cc98ab05efd650af21ec82ed8c57851
parent781050b0a3164934857c300bb0bc291e38c26b6f
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
drivers/dma-buf/dma-buf.c
drivers/dma-buf/dma-fence.c
drivers/dma-buf/dma-resv.c
include/linux/dma-fence.h
include/linux/dma-resv.h