John Stultz abf4451b34 dma-buf: heaps: Rework heap allocation hooks to return struct dma_buf instead of fd
Every heap needs to create a dmabuf and then export it to a fd
via dma_buf_fd(), so to consolidate things a bit, have the heaps
just return a struct dmabuf * and let the top level
dma_heap_buffer_alloc() call handle creating the fd via
dma_buf_fd().

Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Laura Abbott <labbott@kernel.org>
Cc: Brian Starkey <Brian.Starkey@arm.com>
Cc: Hridya Valsaraju <hridya@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Sandeep Patil <sspatil@google.com>
Cc: Daniel Mentz <danielmentz@google.com>
Cc: Chris Goldsworthy <cgoldswo@codeaurora.org>
Cc: Ørjan Eide <orjan.eide@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Ezequiel Garcia <ezequiel@collabora.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: James Jones <jajones@nvidia.com>
Cc: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
 [sumits: minor reword of commit message]

Link: https://patchwork.freedesktop.org/patch/msgid/20210119204508.9256-3-john.stultz@linaro.org
(cherry picked from commit c7f59e3dd60313071a989227dcb69094f499d310)
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2021-02-24 21:04:54 +05:30
..
2021-01-24 11:05:48 -08:00
2020-12-16 16:38:41 -08:00
2020-12-18 12:38:28 -08:00
2021-01-14 20:56:56 +00:00
2020-12-16 16:38:41 -08:00
2020-12-24 12:18:11 -08:00
2020-12-07 10:08:14 +01:00
2020-12-15 16:06:14 -08:00
2020-12-02 22:35:44 +01:00
2021-01-01 12:58:07 -08:00
2021-01-12 21:23:55 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
2021-01-24 12:24:35 -08:00
2020-12-16 16:38:41 -08:00
2020-12-16 13:34:31 -08:00
2021-01-20 09:16:01 -08:00
2020-12-15 14:02:26 -08:00
2020-12-15 22:50:12 +11:00
2020-12-19 11:51:32 -08:00
2020-12-16 16:38:41 -08:00
2020-12-16 16:38:41 -08:00
2020-12-20 10:12:06 -08:00
2021-02-05 09:25:26 +10:00
2020-12-10 10:45:36 +01:00
2021-01-23 11:35:02 -08:00
2020-12-16 16:38:41 -08:00
2021-01-24 10:56:45 -08:00
2020-12-20 10:44:05 -08:00
2021-01-05 13:30:28 -08:00
2020-12-09 19:44:34 +01:00
2020-12-23 15:01:49 -08:00
2021-01-15 10:52:00 -08:00