diff options
author | John Stultz <john.stultz@linaro.org> | 2020-11-21 23:49:58 +0000 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2020-11-22 22:03:02 +0530 |
commit | 3812957587923ca325308ed9c4a5be5ca935e903 (patch) | |
tree | 6241faec08b827def0557748a99dd53304b92a32 /samples | |
parent | 2b6cb81b95d1e8abfb6d32cf194a5bd2992c315c (diff) | |
download | lwn-3812957587923ca325308ed9c4a5be5ca935e903.tar.gz lwn-3812957587923ca325308ed9c4a5be5ca935e903.zip |
dma-buf: system_heap: Rework system heap to use sgtables instead of pagelists
In preparation for some patches to optmize the system
heap code, rework the dmabuf exporter to utilize sgtables rather
then pageslists for tracking the associated pages.
This will allow for large order page allocations, as well as
more efficient page pooling.
In doing so, the system heap stops using the heap-helpers logic
which sadly is not quite as generic as I was hoping it to be, so
this patch adds heap specific implementations of the dma_buf_ops
function handlers.
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
Reviewed-by: Brian Starkey <brian.starkey@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/20201121235002.69945-2-john.stultz@linaro.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions