mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
ODROID-COMMON: arm64: dma-mapping: increase DMA coherent pool size to 2M
Change-Id: I55c33b5966a4468fe0c28659fcc24896c9f95262
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user