diff --git a/patch/kernel/odroidc2-next/arm64_increasing_DMA_block_memory_allocation_to_2048.patch b/patch/kernel/odroidc2-next/arm64_increasing_DMA_block_memory_allocation_to_2048.patch new file mode 100644 index 000000000..d1f5d4075 --- /dev/null +++ b/patch/kernel/odroidc2-next/arm64_increasing_DMA_block_memory_allocation_to_2048.patch @@ -0,0 +1,15 @@ +diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c +old mode 100644 +new mode 100755 +index 3216e09..21bce28 +--- a/arch/arm64/mm/dma-mapping.c ++++ b/arch/arm64/mm/dma-mapping.c +@@ -44,7 +44,7 @@ static pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot, + + static struct gen_pool *atomic_pool; + +-#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_256K ++#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_2M + static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE; + + static int __init early_coherent_pool(char *p) diff --git a/patch/kernel/odroidc2-next/increasing_DMA_block_memory_allocation_to_2048.patch b/patch/kernel/odroidc2-next/increasing_DMA_block_memory_allocation_to_2048.patch deleted file mode 100644 index dd96fef21..000000000 --- a/patch/kernel/odroidc2-next/increasing_DMA_block_memory_allocation_to_2048.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c -old mode 100644 -new mode 100755 -index bd83c53..af7cfe3 ---- a/arch/arm/mm/dma-mapping.c -+++ b/arch/arm/mm/dma-mapping.c -@@ -374,7 +374,7 @@ static void __dma_free_remap(void *cpu_addr, size_t size) - VM_ARM_DMA_CONSISTENT | VM_USERMAP); - } - --#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_256K -+#define DEFAULT_DMA_COHERENT_POOL_SIZE SZ_2M - static struct gen_pool *atomic_pool; - - static size_t atomic_pool_size = DEFAULT_DMA_COHERENT_POOL_SIZE;