From 5d79e07e8e4358df8d28e9b48d1a3e46adcf2be4 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 24 Apr 2024 14:50:08 +0900 Subject: [PATCH] rpi4: boot: Set cma size as cma-320 As like tizen-rpi-5.15, set cma size 320MB with cma-320 dt param. With this change, target shows below cma size from /proc/meminfo: CmaTotal: 327680 kB Change-Id: I5e67c52dc33592e17a1cac04d3c4cbcf2e093032 Signed-off-by: Seung-Woo Kim --- rpi4/boot/config.txt | 2 +- rpi4/boot/config_64bit.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpi4/boot/config.txt b/rpi4/boot/config.txt index 9817aea..cb964ac 100644 --- a/rpi4/boot/config.txt +++ b/rpi4/boot/config.txt @@ -57,7 +57,7 @@ hdmi_force_hotplug=1 display_auto_detect=1 # Enable DRM VC4 V3D driver -dtoverlay=vc4-kms-v3d-pi4 +dtoverlay=vc4-kms-v3d-pi4,cma-320 max_framebuffers=2 # Disable ID_SC and ID_SD pins to use UART2 diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index 285043b..2143670 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -57,7 +57,7 @@ hdmi_force_hotplug=1 display_auto_detect=1 # Enable DRM VC4 V3D driver -dtoverlay=vc4-kms-v3d-pi4 +dtoverlay=vc4-kms-v3d-pi4,cma-320 max_framebuffers=2 # Disable ID_SC and ID_SD pins to use UART2 -- 2.7.4