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

Commit 38a47b85 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ion: ion_system_heap: update supported page-orders for ion pool"

parents ba5a7d6f e2081732
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,11 @@
#define _ION_SYSTEM_HEAP_H
#define _ION_SYSTEM_HEAP_H


#ifndef CONFIG_ALLOC_BUFFERS_IN_4K_CHUNKS
#ifndef CONFIG_ALLOC_BUFFERS_IN_4K_CHUNKS
static const unsigned int orders[] = {9, 8, 4, 0};
#if defined(CONFIG_IOMMU_IO_PGTABLE_ARMV7S)
static const unsigned int orders[] = {8, 4, 0};
#else
static const unsigned int orders[] = {9, 4, 0};
#endif
#else
#else
static const unsigned int orders[] = {0};
static const unsigned int orders[] = {0};
#endif
#endif