dfc0e46bcf
Large allocations can result in the dma_common_contiguous_remap call not being able to succeed because it can't find enough contiguous memory to setup the mapping. Make dma_common_contiguous_remap more robust by using vmalloc as a fallback. Change-Id: I12ca710b4c24f4ef24bc33a0d1d4922196fb7492 Signed-off-by: Liam Mark <lmark@codeaurora.org> Signed-off-by: Patrick Daly <pdaly@codeaurora.org> Signed-off-by: Charan Teja Reddy <charante@codeaurora.org> (cherry picked from commit b4c505ac103c032e8ff567c085f0bced4a9bf43c) Bug: 155522481 Signed-off-by: Mark Salyzyn <salyzyn@google.com> [saravanak rolled in int to unsigned long conversion from another patch] Signed-off-by: Saravana Kannan <saravanak@google.com> |
||
---|---|---|
.. | ||
coherent.c | ||
contiguous.c | ||
debug.c | ||
direct.c | ||
Kconfig | ||
Makefile | ||
mapping.c | ||
noncoherent.c | ||
removed.c | ||
swiotlb.c | ||
virt.c |