diff options
author | John Stultz <john.stultz@linaro.org> | 2020-11-21 23:50:02 +0000 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2020-11-22 22:03:04 +0530 |
commit | d963ab0f15fb0797ddd65b2653f3d65c2d7a08ec (patch) | |
tree | 3756e82291a535e5110a244780b63b551f353f8a /drivers/dma-buf/selftest.c | |
parent | 4c68e499bb9d6d9ec3e18fcb2f68641abb22464a (diff) |
dma-buf: system_heap: Allocate higher order pages if available
While the system heap can return non-contiguous pages,
try to allocate larger order pages if possible.
This will allow slight performance gains and make implementing
page pooling easier.
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-6-john.stultz@linaro.org
Diffstat (limited to 'drivers/dma-buf/selftest.c')
0 files changed, 0 insertions, 0 deletions