]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: fence debugging
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 31 Mar 2017 10:00:42 +0000 (11:00 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Fri, 31 Mar 2017 15:52:22 +0000 (17:52 +0200)
commit1dfa0fd5ef4739c00df56dc7a4a776f6734c83de
tree4a3b3cdf9fb08d0b62376e6ffebe65acd209706a
parent455dc314401800358aea353563f57ee82dc404a1
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
drivers/dma-buf/dma-buf.c