Skip to content

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

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: dma-buf: heaps: Describe CMA regions to be added to dmabuf heaps interface.Documentation/devicetree/bindings/dma/dmabuf-heap-cma.txt+31 -03 replies
2/3dma-buf: heaps: Allow adding specified non-default CMA heapsdrivers/dma-buf/heaps/cma_heap.c+38 -00 replies
3/3example: dts: hi3660-hikey960: Add dts entries to test cma heap bindingarch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts+12 -10 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/3] Support non-default CMA regions to the dmabuf heaps interface

Now that the dmabuf heaps core code has been queued, I wanted to submit for initial review some of the changes I have pending.

In previous versions, the dmabuf CMA heap added all CMA areas to the dmabuf heaps interface. However, Andrew noted this may not be desirable, so I've come up with a DT binding and code to allow specified CMA regions to be added to the dmabuf heaps interface.

This allows additional CMA regions for things like cameras, etc to be allocated from separately from the default region.

Review and feedback would be greatly appreciated!

thanks
-john

Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Laura Abbott <[email protected]>
Cc Benjamin Gaignard <[email protected]>
Cc Sumit Semwal <[email protected]>
Cc Liam Mark <[email protected]>
Cc Pratik Patel <[email protected]>
Cc Brian Starkey <[email protected]>
Cc Andrew F. Davis <[email protected]>
Cc Chenbo Feng <[email protected]>
Cc Alistair Strachan <[email protected]>
Cc Sandeep Patil <[email protected]>
Cc Hridya Valsaraju <[email protected]>

John Stultz (3):
dt-bindings: dma-buf: heaps: Describe CMA regions to be added to
dmabuf heaps interface.
dma-buf: heaps: Allow adding specified non-default CMA heaps
example: dts: hi3660-hikey960: Add dts entries to test cma heap
binding

 .../bindings/dma/dmabuf-heap-cma.txt          | 31 +++++++++++++++
 .../boot/dts/hisilicon/hi3660-hikey960.dts    | 13 ++++++-
 drivers/dma-buf/heaps/cma_heap.c              | 38 +++++++++++++++++++
 3 files changed, 81 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/dma/dmabuf-heap-cma.txt
Signature · 6 lines
2.17.1

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