[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191025225009.50305-1-john.stultz@linaro.org>
Date: Fri, 25 Oct 2019 22:50:06 +0000
From: John Stultz <john.stultz@...aro.org>
To: lkml <linux-kernel@...r.kernel.org>
Cc: John Stultz <john.stultz@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Laura Abbott <labbott@...hat.com>,
Benjamin Gaignard <benjamin.gaignard@...aro.org>,
Sumit Semwal <sumit.semwal@...aro.org>,
Liam Mark <lmark@...eaurora.org>,
Pratik Patel <pratikp@...eaurora.org>,
Brian Starkey <Brian.Starkey@....com>,
"Andrew F . Davis" <afd@...com>, Chenbo Feng <fengc@...gle.com>,
Alistair Strachan <astrachan@...gle.com>,
Sandeep Patil <sspatil@...gle.com>,
Hridya Valsaraju <hridya@...gle.com>,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: [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 <robh+dt@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>
Cc: Laura Abbott <labbott@...hat.com>
Cc: Benjamin Gaignard <benjamin.gaignard@...aro.org>
Cc: Sumit Semwal <sumit.semwal@...aro.org>
Cc: Liam Mark <lmark@...eaurora.org>
Cc: Pratik Patel <pratikp@...eaurora.org>
Cc: Brian Starkey <Brian.Starkey@....com>
Cc: Andrew F. Davis <afd@...com>
Cc: Chenbo Feng <fengc@...gle.com>
Cc: Alistair Strachan <astrachan@...gle.com>
Cc: Sandeep Patil <sspatil@...gle.com>
Cc: Hridya Valsaraju <hridya@...gle.com>
Cc: devicetree@...r.kernel.org
Cc: dri-devel@...ts.freedesktop.org
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
--
2.17.1
Powered by blists - more mailing lists