Skip to content

RFC Support non-default CMA regions to the dmabuf heaps interface

John Stultz dri-devel linux-devicetree linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4devicetree: bindings: Add linux,cma-heap tag for reserved memoryDocumentation/devicetree/bindings/reserved-memory/reserved-memory.txt+3 -07 replies
2/4mm: cma: Add dma_heap flag to cma structureinclude/linux/cma.h kernel/dma/contiguous.c mm/cma.c +1 more+18 -02 replies
3/4dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap"drivers/dma-buf/heaps/cma_heap.c+9 -98 replies
4/4example: dts: hi3660-hikey960: Add dts entries to test cma heap bindingarch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/4] Support non-default CMA regions to the dmabuf heaps interface

This is a much belated second stab at allowing non-default CMA regions to be exposed via the dmabuf heaps interface.

Previous attempt was here:
https://lore.kernel.org/lkml/[email protected]/T/

This pass tried to take Rob's earlier suggestion to use a flag property.

Feedback would be greatly welcome!

thanks
-john

Cc Rob Herring <[email protected]>
Cc Sumit Semwal <[email protected]>
Cc "Andrew F. Davis" <[email protected]>
Cc Benjamin Gaignard <[email protected]>
Cc Liam Mark <[email protected]>
Cc Pratik Patel <[email protected]>
Cc Laura Abbott <[email protected]>
Cc Brian Starkey <[email protected]>
Cc Chenbo Feng <[email protected]>
Cc Alistair Strachan <[email protected]>
Cc Sandeep Patil <[email protected]>
Cc Hridya Valsaraju <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Robin Murphy <[email protected]>
Cc Andrew Morton <[email protected]>

John Stultz (4):
devicetree: bindings: Add linux,cma-heap tag for reserved memory
mm: cma: Add dma_heap flag to cma structure
dma-buf: cma_heap: Extend logic to export CMA regions tagged with
"linux,cma-heap"
example: dts: hi3660-hikey960: Add dts entries to test cma heap
binding

 .../reserved-memory/reserved-memory.txt        |  3 +++
 .../boot/dts/hisilicon/hi3660-hikey960.dts     |  7 +++++++
 drivers/dma-buf/heaps/cma_heap.c               | 18 +++++++++---------
 include/linux/cma.h                            |  3 +++
 kernel/dma/contiguous.c                        |  3 +++
 mm/cma.c                                       | 11 +++++++++++
 mm/cma.h                                       |  1 +
 7 files changed, 37 insertions(+), 9 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel