Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-10 Thread Minchan Kim
On Thu, Dec 10, 2020 at 02:40:38PM -0800, John Stultz wrote: > On Thu, Dec 10, 2020 at 8:06 AM Minchan Kim wrote: > > On Thu, Dec 10, 2020 at 12:15:15AM -0800, John Stultz wrote: > > > Well, while I agree that conceptually the dmabuf heaps allow for > > > allocations for multi-device pipelines, an

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-10 Thread John Stultz
On Thu, Dec 10, 2020 at 8:06 AM Minchan Kim wrote: > On Thu, Dec 10, 2020 at 12:15:15AM -0800, John Stultz wrote: > > Well, while I agree that conceptually the dmabuf heaps allow for > > allocations for multi-device pipelines, and thus are not tied to > > specific devices. I do think that the memo

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-10 Thread Minchan Kim
On Thu, Dec 10, 2020 at 12:15:15AM -0800, John Stultz wrote: > On Wed, Dec 9, 2020 at 3:53 PM Minchan Kim wrote: > > On Wed, Nov 18, 2020 at 07:19:07PM -0800, John Stultz wrote: > > > The CMA heap currently only registers the default CMA heap, as we > > > didn't want to expose all CMA regions and

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-10 Thread John Stultz
On Wed, Dec 9, 2020 at 3:53 PM Minchan Kim wrote: > On Wed, Nov 18, 2020 at 07:19:07PM -0800, John Stultz wrote: > > The CMA heap currently only registers the default CMA heap, as we > > didn't want to expose all CMA regions and there's otherwise no way to > > pick and choose. > > Yub. > > dma-buf

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-12-09 Thread Minchan Kim
On Wed, Nov 18, 2020 at 07:19:07PM -0800, John Stultz wrote: > On Wed, Nov 18, 2020 at 5:22 PM Hyesoo Yu wrote: > > > > On Tue, Nov 17, 2020 at 07:00:54PM -0800, John Stultz wrote: > > > So I suspect Rob will push back on this as he has for other dt > > > bindings related to ion/dmabuf heaps (I tr

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-11-18 Thread Hyesoo Yu
On Wed, Nov 18, 2020 at 07:19:07PM -0800, John Stultz wrote: > On Wed, Nov 18, 2020 at 5:22 PM Hyesoo Yu wrote: > > > > On Tue, Nov 17, 2020 at 07:00:54PM -0800, John Stultz wrote: > > > So I suspect Rob will push back on this as he has for other dt > > > bindings related to ion/dmabuf heaps (I tr

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-11-18 Thread John Stultz
On Wed, Nov 18, 2020 at 5:22 PM Hyesoo Yu wrote: > > On Tue, Nov 17, 2020 at 07:00:54PM -0800, John Stultz wrote: > > So I suspect Rob will push back on this as he has for other dt > > bindings related to ion/dmabuf heaps (I tried to push a similar > > solution to exporting multiple CMA areas via

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-11-18 Thread Hyesoo Yu
On Tue, Nov 17, 2020 at 07:00:54PM -0800, John Stultz wrote: > On Tue, Nov 17, 2020 at 10:19 AM Minchan Kim wrote: > > > > From: Hyesoo Yu > > > > Document devicetree binding for chunk heap on dma heap framework > > > > Signed-off-by: Hyesoo Yu > > Signed-off-by: Minchan Kim > > --- > > .../bi

Re: [PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-11-17 Thread John Stultz
On Tue, Nov 17, 2020 at 10:19 AM Minchan Kim wrote: > > From: Hyesoo Yu > > Document devicetree binding for chunk heap on dma heap framework > > Signed-off-by: Hyesoo Yu > Signed-off-by: Minchan Kim > --- > .../bindings/dma-buf/chunk_heap.yaml | 52 +++ > 1 file change

[PATCH 4/4] dma-heap: Devicetree binding for chunk heap

2020-11-17 Thread Minchan Kim
From: Hyesoo Yu Document devicetree binding for chunk heap on dma heap framework Signed-off-by: Hyesoo Yu Signed-off-by: Minchan Kim --- .../bindings/dma-buf/chunk_heap.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindin