[Sound-open-firmware] [PATCH] Increase HEAP_SYSTEM_SIZE for DMA trace local buffer.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Fri Mar 16 08:07:05 CET 2018


From: Yan Wang <yan.wang at linux.intel.com>

After enable DMA trace on APL, original HEAP_SYSTEM_SIZE is not
enough and will cause allocation failure.

Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
 src/platform/apollolake/include/platform/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform/apollolake/include/platform/memory.h b/src/platform/apollolake/include/platform/memory.h
index 6bdb0ba..a0dab04 100644
--- a/src/platform/apollolake/include/platform/memory.h
+++ b/src/platform/apollolake/include/platform/memory.h
@@ -180,7 +180,7 @@
 #define HEAP_SYSTEM_BASE \
 	(REEF_TEXT_BASE + REEF_TEXT_SIZE +\
 	REEF_DATA_SIZE + REEF_BSS_DATA_SIZE)
-#define HEAP_SYSTEM_SIZE		0x2000
+#define HEAP_SYSTEM_SIZE		0x3200
 
 #define HEAP_RUNTIME_BASE		(HEAP_SYSTEM_BASE + HEAP_SYSTEM_SIZE)
 #define HEAP_RUNTIME_SIZE \
-- 
2.14.3



More information about the Sound-open-firmware mailing list