From 87b7195096a869c9846ae878698adefc91d2dfb2 Mon Sep 17 00:00:00 2001 From: Jaroslaw Stelter Date: Fri, 22 Sep 2023 12:58:20 +0200 Subject: [PATCH] ptl: 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/pantherlake/include/platform/lib/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/pantherlake/include/platform/lib/memory.h b/src/platform/pantherlake/include/platform/lib/memory.h index 129bed70974a..6232b77af907 100644 --- a/src/platform/pantherlake/include/platform/lib/memory.h +++ b/src/platform/pantherlake/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__ */