Skip to contentSkip to conversation

arm64: renesas_defconfig: Use a default 128MB of CMA

PATCH In review Kieran Bingham 2 participants 2 messages Jan 15, 2018 – Jan 16, 2018 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: renesas_defconfig: Use a default 128MB of CMA

Our media tests frequently need large areas of CMA. Define the default allocation to be 128 MBytes to support larger use-cases.

---

v1.1
- Collected Laurent's Acked-by

 arch/arm64/configs/renesas_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/renesas_defconfig +1 -0
index b1aeb5f366c5..d150d8c4b5df 100644
@@ -87,6 +87,7 @@ CONFIG_CAN_RCAR_CANFD=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMA_CMA=y
+CONFIG_CMA_SIZE_MBYTES=128
 CONFIG_CMA_ALIGNMENT=9
 CONFIG_MTD=y
 CONFIG_MTD_BLOCK=y
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Kieran Bingham

Our media tests frequently need large areas of CMA. Define the default allocation to be 128 MBytes to support larger use-cases.

---

v1.1
- Collected Laurent's Acked-by

Thanks, I have applied this to the topic/renesas-defconfig branch which is included in the devel branch and tags of the Renesas tree as a convenience to developers. The branch is not, however, included in the next branch or tags nor is it targeted at upstream.