From 4199351c1b29fad6c8b1d4ed916de3aa44c03924 Mon Sep 17 00:00:00 2001 From: "Jakub \"Kuba\" Czapiga" Date: Wed, 11 Jun 2025 10:19:33 +0000 Subject: [PATCH] Revert "libpayload: arm64: Reduce DMA allocator space to 1MB" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit aedc177f000a3fd62c75f555c116ad956443ab1e. Reason for revert: With this change depthchange clears parts of cbmem on Google/Corsola when display is cleared. BUG=b:424107889 Change-Id: I6cc21693ddcaed59e41e333b773e0baeb29d3b40 Signed-off-by: Bartłomiej Grzesik Reviewed-on: https://review.coreboot.org/c/coreboot/+/88051 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/include/arm64/arch/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/libpayload/include/arm64/arch/mmu.h b/payloads/libpayload/include/arm64/arch/mmu.h index 9ed951d336..2b1e9e120c 100644 --- a/payloads/libpayload/include/arm64/arch/mmu.h +++ b/payloads/libpayload/include/arm64/arch/mmu.h @@ -161,7 +161,7 @@ extern char _start[], _end[]; #define TCR_TBI_USED (0x0 << TCR_TBI_SHIFT) #define TCR_TBI_IGNORED (0x1 << TCR_TBI_SHIFT) -#define DMA_DEFAULT_SIZE (1 * MiB) +#define DMA_DEFAULT_SIZE (32 * MiB) #define TTB_DEFAULT_SIZE 0x100000 #define MB_SIZE (1UL << 20)