dma-buf: fence debugging
Add debugfs output to report shared and exclusive fences on a dma_buf
object. This produces output such as:
Dma-buf Objects:
size flags mode count exp_name
08294400 00000000 00000005 00000005 drm
Exclusive fence: etnaviv 134000.gpu signalled
Attached Devices:
gpu-subsystem
Total 1 devices attached
Total 1 objects,
8294400 bytes
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/E1cttMI-00068z-3X@rmk-PC.armlinux.org.uk