Skip to content

Enhance DMABUF with reference counting for exporter module

Tomasz Stanislawski dri-devel linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- split patch into DMABUF and DRM part
- allow owner to be NULL

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dma-buf: add reference counting for exporter moduleDocumentation/dma-buf-sharing.txt drivers/base/dma-buf.c include/linux/dma-buf.h+12 -22 replies
2/2drm: set owner field to for all DMABUF exportersdrivers/gpu/drm/exynos/exynos_drm_dmabuf.c drivers/gpu/drm/i915/i915_gem_dmabuf.c drivers/gpu/drm/nouveau/nouveau_prime.c +2 more+5 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSumit SemwalDaniel Vetter
1/2A-b A-b
2/2A-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Enhance DMABUF with reference counting for exporter module

Hello,
This patchset adds reference counting for an exporter module to DMABUF framework. Moreover, it adds setup of an owner field for exporters in DRM subsystem.

v1: Original
v2:
- split patch into DMABUF and DRM part
- allow owner to be NULL

Regards,
Tomasz Stanislawski

Tomasz Stanislawski (2):
dma-buf: add reference counting for exporter module
drm: set owner field to for all DMABUF exporters

 Documentation/dma-buf-sharing.txt          |    3 ++-
 drivers/base/dma-buf.c                     |    9 ++++++++-
 drivers/gpu/drm/exynos/exynos_drm_dmabuf.c |    1 +
 drivers/gpu/drm/i915/i915_gem_dmabuf.c     |    1 +
 drivers/gpu/drm/nouveau/nouveau_prime.c    |    1 +
 drivers/gpu/drm/radeon/radeon_prime.c      |    1 +
 drivers/staging/omapdrm/omap_gem_dmabuf.c  |    1 +
 include/linux/dma-buf.h                    |    2 ++
 8 files changed, 17 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5