Commit 0aaaa41d authored by Olav Haugan's avatar Olav Haugan Committed by Sridhar Gujje
Browse files

gpu: ion: Do fallback when allocating large sizes



The preferred allocation of memory for kernel data structures in
ION is to use kmalloc. This is mainly for performance reasons. However,
we are not guaranteed to be able to allocate large sizes. So to keep
the code performing well and at the same time allow for larger allocations,
implement a fallback mechanism for allocation of memory for ION kernel data
structures.

CRs-Fixed: 488521
Change-Id: I8c6a13ad74cce69f590920d28c01a58f7a540fd2
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
[Resolved merge conflict]
Signed-off-by: default avatarChintan Pandya <cpandya@codeaurora.org>

Signed-off-by: default avatarSridhar Gujje <sgujje@codeaurora.org>
parent 7e2f949f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment