]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: agatti: Add CX_MEM/DBGC GPU regions
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 29 Dec 2025 20:47:40 +0000 (21:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 21 Jan 2026 19:15:49 +0000 (13:15 -0600)
Describe the GPU register regions, with the former existing but not
being used much if at all on this silicon, and the latter containing
various debugging levers generally related to dumping the state of
the IP upon a crash.

Fixes: 4faeef52c8e6 ("arm64: dts: qcom: qcm2290: Add GPU nodes")
Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Closes: https://lore.kernel.org/linux-arm-msm/8a64f70b-8034-45e7-86a3-0015cf357132@oss.qualcomm.com/T/#m404f1425c36b61467760f058b696b8910340a063
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251229-topic-6115_2290_gpu_dbgc-v1-2-4a24d196389c@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/agatti.dtsi

index 217d465df846ef5928b78ceefce152c2403bbb18..76b93b7bd50f9c616d40c9860c13ec2acc91a14f 100644 (file)
 
                gpu: gpu@5900000 {
                        compatible = "qcom,adreno-07000200", "qcom,adreno";
-                       reg = <0x0 0x05900000 0x0 0x40000>;
-                       reg-names = "kgsl_3d0_reg_memory";
+                       reg = <0x0 0x05900000 0x0 0x40000>,
+                             <0x0 0x0599e000 0x0 0x1000>,
+                             <0x0 0x05961000 0x0 0x800>;
+                       reg-names = "kgsl_3d0_reg_memory",
+                                   "cx_mem",
+                                   "cx_dbgc";
 
                        interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;