mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
183c8ec778
Removed upstreamed: - generic/backport-5.4/702-Revert-net-dsa-b53-Fix-valid-setting-for-MDB-entries.patch Manually rebased: - layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch - layerscape/patches-5.4/820-usb-0010-MLK-22675-usb-dwc3-host-disable-park-mode.patch Refreshed all patches. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
21 lines
722 B
Diff
21 lines
722 B
Diff
From 16bdf3e76fec6ddb44f1fcf221139fb39d225031 Mon Sep 17 00:00:00 2001
|
|
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
|
Date: Sat, 2 Jan 2021 05:23:55 +0000
|
|
Subject: [PATCH] kernel: dma: adjust default coherent_pool to 2MiB
|
|
|
|
---
|
|
kernel/dma/remap.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/kernel/dma/remap.c
|
|
+++ b/kernel/dma/remap.c
|
|
@@ -101,7 +101,7 @@ void dma_common_free_remap(void *cpu_add
|
|
#ifdef CONFIG_DMA_DIRECT_REMAP
|
|
static struct gen_pool *atomic_pool __ro_after_init;
|
|
|
|
-#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)
|