diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-01-29 18:44:29 -0700 |
---|---|---|
committer | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-04-24 18:59:38 -0700 |
commit | b3d30cecdff41f5f39b0febc76cd867df04ccb1f (patch) | |
tree | 56991361d5b1b833af9728a6164f2e6141f5f4ce /arch/arm | |
parent | 19ba8dc4946b167a43723e2e24c2838a0e6971cb (diff) |
dma-mapping: increase DEFAULT_DMA_COHERENT_POOL_SIZE ifdef CONFIG_VIDEO_TW68
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mm/dma-mapping.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index ef3e0f3aac96..a66b81cf9a4d 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -298,7 +298,11 @@ static void __dma_free_remap(void *cpu_addr, size_t size) vunmap(cpu_addr); } +#if IS_ENABLED(CONFIG_VIDEO_TW68) +#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_32M +#else #define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_256K +#endif struct dma_pool { size_t size; |