]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Add cma heap for libcamera...
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 25 Oct 2024 15:43:28 +0000 (16:43 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 1 Nov 2024 13:59:18 +0000 (08:59 -0500)
libcamera softisp requires a linux,cma heap export in order to support
user-space debayering, 3a and export to other system components such as
pipewire, Firefox/Chromium - Hangouts, Zoom etc.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-6-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-db845c-navigation-mezzanine.dtso

index b5f717d0ddd97c0b71c75b2760c8b87db5fc89ac..0a87df806cafc8e726aacc07a772ca478d0ee3df 100644 (file)
@@ -9,6 +9,17 @@
 #include <dt-bindings/clock/qcom,camcc-sdm845.h>
 #include <dt-bindings/gpio/gpio.h>
 
+/ {
+       reserved-memory {
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       size = <0x0 0x8000000>;
+                       reusable;
+                       linux,cma-default;
+               };
+       };
+};
+
 &camss {
        vdda-phy-supply = <&vreg_l1a_0p875>;
        vdda-pll-supply = <&vreg_l26a_1p2>;