[Sound-open-firmware] [PATCH 1/3] heap: byt: balance heap block size map

Liam Girdwood liam.r.girdwood at linux.intel.com
Sun Sep 3 23:17:50 CEST 2017


Balance the heap block map size out to better fit real world usage by
reducing small blocks to create extra larger blocks.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/platform/baytrail/include/platform/memory.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/platform/baytrail/include/platform/memory.h b/src/platform/baytrail/include/platform/memory.h
index 6bd0e78..c6a1301 100644
--- a/src/platform/baytrail/include/platform/memory.h
+++ b/src/platform/baytrail/include/platform/memory.h
@@ -100,11 +100,11 @@
 
 /* Heap section sizes for module pool */
 #define HEAP_RT_COUNT8			0
-#define HEAP_RT_COUNT16		    256
-#define HEAP_RT_COUNT32		    128
+#define HEAP_RT_COUNT16		    64
+#define HEAP_RT_COUNT32		    64
 #define HEAP_RT_COUNT64		    64
-#define HEAP_RT_COUNT128		32
-#define HEAP_RT_COUNT256		16
+#define HEAP_RT_COUNT128		64
+#define HEAP_RT_COUNT256		64
 #define HEAP_RT_COUNT512		8
 #define HEAP_RT_COUNT1024		4
 
-- 
2.11.0



More information about the Sound-open-firmware mailing list