Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55317ea0 authored by Nirmal Abraham's avatar Nirmal Abraham
Browse files

msm: mdss: use vmalloc for sglist allocation



In scenarios where system is running low on memory, the
sglist allocation during sg_table cloning was failing as
there was no order 4 pages available. The cloned list
is only used for iommu map/unmap SW ops and not used by HW.
So it's safe to use physically noncontinuous sglist.
Thus replacing kmalloc with vmalloc for sglist allocation.

Change-Id: I80a10377398f90756df9533a78a63f4da3fe9a43
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent 035363ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment