Skip to content

dma-buf: Add support for debugfs

Sumit Semwal dri-devel linux-media 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 3 repliesSuperseded

changes since v1 from the cover letter

- added patch to replace dma_buf_export() with dma_buf_export_named(), per suggestion from Daniel Vetter.
- fixes on init and warnings as reported and corrected by Dave Airlie.
- added locking while walking attachment list - reported by Daniel Vetter.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dma-buf: replace dma_buf_export() with dma_buf_export_named()Documentation/dma-buf-sharing.txt drivers/base/dma-buf.c include/linux/dma-buf.h+27 -80 replies
2/2dma-buf: Add debugfs supportdrivers/base/dma-buf.c include/linux/dma-buf.h+163 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] dma-buf: Add support for debugfs

The patch series adds a much-missed support for debugfs to dma-buf framework.

Based on the feedback received on v1 of this patch series, support is also added to allow exporters to provide name-strings that will prove useful while debugging.

Some more magic can be added for more advanced debugging, but we'll leave that for the time being.

Best regards,
~Sumit.

---
changes since v2: (based on review comments from Laurent Pinchart)
- reordered functions to avoid forward declaration
- added __exitcall for dma_buf_deinit()

changes since v1:
- added patch to replace dma_buf_export() with dma_buf_export_named(), per suggestion from Daniel Vetter.
- fixes on init and warnings as reported and corrected by Dave Airlie.
- added locking while walking attachment list - reported by Daniel Vetter.

Sumit Semwal (2):
dma-buf: replace dma_buf_export() with dma_buf_export_named()
dma-buf: Add debugfs support

 Documentation/dma-buf-sharing.txt |   13 ++-
 drivers/base/dma-buf.c            |  170 ++++++++++++++++++++++++++++++++++++-
 include/linux/dma-buf.h           |   16 +++-
 3 files changed, 190 insertions(+), 9 deletions(-)
Signature · 1 line
1.7.10.4