From 1cb4477daf3cbd05cc68a2d7677a5af98e36c84a Mon Sep 17 00:00:00 2001 From: Philippe Simons Date: Wed, 23 Jul 2025 22:54:47 +0200 Subject: [PATCH] sm8550/linux: add 384Mb cma memory --- .../0200_arm64--dts--qcom--Add-AYN-Odin2-Common.patch | 9 ++++++++- ...0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/projects/ROCKNIX/devices/SM8550/patches/linux/0200_arm64--dts--qcom--Add-AYN-Odin2-Common.patch b/projects/ROCKNIX/devices/SM8550/patches/linux/0200_arm64--dts--qcom--Add-AYN-Odin2-Common.patch index 05ce6c572f..41d540657e 100644 --- a/projects/ROCKNIX/devices/SM8550/patches/linux/0200_arm64--dts--qcom--Add-AYN-Odin2-Common.patch +++ b/projects/ROCKNIX/devices/SM8550/patches/linux/0200_arm64--dts--qcom--Add-AYN-Odin2-Common.patch @@ -3,7 +3,7 @@ new file mode 100644 index 000000000000..58d9ab342fe9 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-ayn-common.dtsi -@@ -0,0 +1,2088 @@ +@@ -0,0 +1,2095 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2025, Teguh Sobirin. @@ -203,6 +203,13 @@ index 000000000000..58d9ab342fe9 + reg = <0 0xfce00000 0 0x2900000>; + no-map; + }; ++ ++ linux,cma { ++ compatible = "shared-dma-pool"; ++ size = <0x0 0x18000000>; ++ reusable; ++ linux,cma-default; ++ }; + }; + + thermal-zones { diff --git a/projects/ROCKNIX/devices/SM8550/patches/linux/0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch b/projects/ROCKNIX/devices/SM8550/patches/linux/0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch index 0cb7ce18b2..9be4995555 100644 --- a/projects/ROCKNIX/devices/SM8550/patches/linux/0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch +++ b/projects/ROCKNIX/devices/SM8550/patches/linux/0210_arm64--dts--qcom--Add-AYANEO-Pocket-Common.patch @@ -3,7 +3,7 @@ new file mode 100644 index 000000000000..58d9ab342fe9 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-common.dtsi -@@ -0,0 +1,1915 @@ +@@ -0,0 +1,1922 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2025, Teguh Sobirin. @@ -178,6 +178,13 @@ index 000000000000..58d9ab342fe9 + reg = <0 0xfce00000 0 0x2900000>; + no-map; + }; ++ ++ linux,cma { ++ compatible = "shared-dma-pool"; ++ size = <0x0 0x18000000>; ++ reusable; ++ linux,cma-default; ++ }; + }; + + sound {