From 4b554ff0843e259d0a0903c6d6e223776ab19fb0 Mon Sep 17 00:00:00 2001 From: Jaroslaw Stelter Date: Fri, 22 Sep 2023 12:58:20 +0200 Subject: [PATCH] lnl: memory: expand HEAPMEM_SIZE FW infrastructure shall support buffering of historic data from 1ch up to 6 channels 24bit samples in 24bit container. For this reason, the heap should be extended.Increase HEAPMEM_SIZE by 0x90000 because for audio format 16000Hz/6ch/24bit history_buffer_size = 16 * 6 * 3 * 2100s = 604800 bytes (0x93A80) Signed-off-by: Jaroslaw Stelter --- src/platform/lunarlake/include/platform/lib/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/lunarlake/include/platform/lib/memory.h b/src/platform/lunarlake/include/platform/lib/memory.h index 5f7ced26f922..f968da8c50f0 100644 --- a/src/platform/lunarlake/include/platform/lib/memory.h +++ b/src/platform/lunarlake/include/platform/lib/memory.h @@ -56,7 +56,7 @@ /** * size of HPSRAM system heap */ -#define HEAPMEM_SIZE 0x40000 +#define HEAPMEM_SIZE 0xD0000 #endif /* __PLATFORM_LIB_MEMORY_H__ */