ODROID-COMMON: arm64: dma-mapping: increase DMA coherent pool size to 2M

Change-Id: I55c33b5966a4468fe0c28659fcc24896c9f95262
This commit is contained in:
Joy Cho
2019-01-24 11:40:59 +09:00
committed by Dongjin Kim
parent 138a3fb26d
commit b9461d572e

View File

@@ -43,7 +43,11 @@ static pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot,
static struct gen_pool *atomic_pool;
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_2M
#else
#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_256K
#endif
static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE;
static int __init early_coherent_pool(char *p)