Move dma_buf_mmap_internal() to dynamic locking specification
Status from this message: Applied to drm-misc-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dma-buf: Move dma_buf_mmap_internal() to dynamic locking specificationdrivers/ | +6 | 1 reply | |
| 2/6 | drm: Assert held reservation lock for dma-buf mmappingdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 3/6 | udmabuf: Assert held reservation lock for dma-buf mmappingdrivers/ | +3 | 0 replies | |
| 4/6 | dma-buf/heaps: Assert held reservation lock for dma-buf mmappingdrivers/ drivers/ | +6 | 0 replies | |
| 5/6 | media: videobuf2: Assert held reservation lock for dma-buf mmappingdrivers/ drivers/ drivers/ | +9 | 1 reply | |
| 6/6 | fastrpc: Assert held reservation lock for dma-buf mmappingdrivers/ | +3 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Tomasz Figa | Christian König |
|---|---|---|
| 1/6 | R-b A-b | |
| 2/6 | ||
| 3/6 | ||
| 4/6 | ||
| 5/6 | A-b | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/6] Move dma_buf_mmap_internal() to dynamic locking specification
Hello,
Recently, dma-buf got a common locking convention for importers and exporters. All the dma-buf functions were moved to the new locking convention, apart from the dma_buf_mmap_internal() that was missed out by accident. This series moves dma_buf_mmap_internal() to the dynamic locking specification and updates drivers that support mmaping of dma-bufs to use the debug-assert of the lock.
Thanks to Daniel Vetter for spotting the missed function!
Dmitry Osipenko (6):
dma-buf: Move dma_buf_mmap_internal() to dynamic locking specification
drm: Assert held reservation lock for dma-buf mmapping
udmabuf: Assert held reservation lock for dma-buf mmapping dma-buf/heaps: Assert held reservation lock for dma-buf mmapping
media: videobuf2: Assert held reservation lock for dma-buf mmapping
fastrpc: Assert held reservation lock for dma-buf mmapping
drivers/dma-buf/dma-buf.c | 7 ++++++- drivers/dma-buf/heaps/cma_heap.c | 3 +++ drivers/dma-buf/heaps/system_heap.c | 3 +++ drivers/dma-buf/udmabuf.c | 3 +++ drivers/gpu/drm/drm_prime.c | 2 ++ drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 2 ++ drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 2 ++ drivers/gpu/drm/tegra/gem.c | 2 ++ drivers/media/common/videobuf2/videobuf2-dma-contig.c | 3 +++ drivers/media/common/videobuf2/videobuf2-dma-sg.c | 3 +++ drivers/media/common/videobuf2/videobuf2-vmalloc.c | 3 +++ drivers/misc/fastrpc.c | 3 +++ 12 files changed, 35 insertions(+), 1 deletion(-)
Signature · 1 line
2.37.3