]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: heaps: Add heap helpers
authorJohn Stultz <john.stultz@linaro.org>
Mon, 21 Oct 2019 19:03:07 +0000 (19:03 +0000)
committerSumit Semwal <sumit.semwal@linaro.org>
Fri, 25 Oct 2019 11:31:47 +0000 (17:01 +0530)
commit114e93d8b1ad7d4e5969f0f014011f685e77d2f5
tree1a594649acf93708613187b2e30dac9f742d6d4d
parent343536baf3665a65abb17b449e9064021ba05766
dma-buf: heaps: Add heap helpers

Add generic helper dmabuf ops for dma heaps, so we can reduce
the amount of duplicative code for the exported dmabufs.

This code is an evolution of the Android ION implementation, so
thanks to its original authors and maintainters:
  Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others!

Cc: Laura Abbott <labbott@redhat.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Pratik Patel <pratikp@codeaurora.org>
Cc: Brian Starkey <Brian.Starkey@arm.com>
Cc: Vincent Donnefort <Vincent.Donnefort@arm.com>
Cc: Sudipto Paul <Sudipto.Paul@arm.com>
Cc: Andrew F. Davis <afd@ti.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Chenbo Feng <fengc@google.com>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Hridya Valsaraju <hridya@google.com>
Cc: Hillf Danton <hdanton@sina.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Tested-by: Ayan Kumar Halder <ayan.halder@arm.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191021190310.85221-3-john.stultz@linaro.org
drivers/dma-buf/Makefile
drivers/dma-buf/heaps/Makefile [new file with mode: 0644]
drivers/dma-buf/heaps/heap-helpers.c [new file with mode: 0644]
drivers/dma-buf/heaps/heap-helpers.h [new file with mode: 0644]