]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sdm670: create common zap-shader node
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 28 Oct 2025 21:00:00 +0000 (23:00 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 30 Oct 2025 18:43:09 +0000 (13:43 -0500)
In order to reduce duplication, move common GPU memory configuration
from individual board files to sdm670.dtsi.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20251028-dt-zap-shader-v1-1-7eccb823b986@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts
arch/arm64/boot/dts/qcom/sdm670.dtsi

index d01422844fbfdec6b4944378a16d9458a4c00bba..760f21f19ca472d620ab1a0703de6e0d69237b55 100644 (file)
        status = "okay";
 
        zap-shader {
-               memory-region = <&gpu_mem>;
                firmware-name = "qcom/sdm670/sargo/a615_zap.mbn";
        };
 };
index c3264a31bccf25fca9eae7fa7734ff43c9db410a..57a3ffedc432b08aa7d7918c9bd0f9714dbb3951 100644 (file)
 
                        status = "disabled";
 
+                       zap-shader {
+                               memory-region = <&gpu_mem>;
+                       };
+
                        gpu_opp_table: opp-table {
                                compatible = "operating-points-v2";