public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v8 0/4] Support for Adreno 612 GPU - Respin
@ 2026-03-11 23:09 Akhil P Oommen
  2026-03-11 23:09 ` [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node Akhil P Oommen
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Akhil P Oommen @ 2026-03-11 23:09 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Konrad Dybcio, Dmitry Baryshkov,
	Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Jessica Zhang,
	Gaurav Kohli
  Cc: Dan Carpenter, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	devicetree, Jie Zhang, Akhil P Oommen, Qingqing Zhou,
	Dmitry Baryshkov, Konrad Dybcio, Jie Zhang

This is a respin of an old series [1] that aimed to add support for
Adreno 612 GPU found in SM6150/QCS615 chipsets. In this version, we
have consolidated the previously separate series for DT and driver
support, along with some significant rework.

Regarding A612 GPU, it falls under ADRENO_6XX_GEN1 family and is a cut
down version of A615 GPU. A612 has a new IP called Reduced Graphics
Management Unit or RGMU, a small state machine which helps to toggle
GX GDSC (connected to CX rail) to implement the IFPC feature. Unlike a
full-fledged GMU, the RGMU does not support features such as clock
control, resource voting via RPMh, HFI etc. Therefore, we require linux
clock driver support similar to gmu-wrapper implementations to control
gpu core clock and GX GDSC.

In this series, the description of RGMU hardware in devicetree is more
complete than in previous version. However, the RGMU core is not
initialized from the driver as there is currently no need for it. We do
perform a dummy load of RGMU firmware (now available in linux-firmware)
to ensure that enabling RGMU core in the future won't break backward
compatibility for users.

Bjorn, I have rebased the pending DT patches on top of arm64-for-7.1
branch to make it convenient for you to pick them.

[1] Driver: https://lore.kernel.org/lkml/20241213-a612-gpu-support-v3-1-0e9b25570a69@quicinc.com/
    Devicetree: https://lore.kernel.org/lkml/fu4rayftf3i4arf6l6bzqyzsctomglhpiniljkeuj74ftvzlpo@vklca2giwjlw/

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
Changes in v8:
- Rebased on top of arm64-for-7.1
- Link to v7: https://lore.kernel.org/r/20260121-qcs615-spin-2-v7-0-52419b263e92@oss.qualcomm.com

Changes in v7:
- Drop msm driver and dt binding doc patches as they got picked up by Rob Clark
- Update interrupt property to use 4 cells
- Rebase on top of arm64-for-6.20 branch in Bjorn's tree
- Capture trailers
- Link to v6: https://lore.kernel.org/r/20251231-qcs615-spin-2-v6-0-da87debf6883@oss.qualcomm.com

Changes in v6:
- Move the rgmu register range update from patch#8 to patch#6.
- Capture trailers
- Link to v5: https://lore.kernel.org/r/20251226-qcs615-spin-2-v5-0-354d86460ccb@oss.qualcomm.com

Changes in v5:
- Rebase on v6.19-rc2
- Make the reg list in A612 GPU's binding doc stricter (Krzysztof)
- Link to v4: https://lore.kernel.org/r/20251204-qcs615-spin-2-v4-0-f5a00c5b663f@oss.qualcomm.com

Changes in v4:
- Rebased on top of next-20251204 tag
- Added a new patch to simplify gpu dt schema (Krzysztof)
- Added a new patch for GPU cooling support (Gaurav)
- Updated the gpu/gmu register range in DT to be more accurate
- Remove 290Mhz corner for GPU as that is not present in downstream
- Link to v3: https://lore.kernel.org/r/20251122-qcs615-spin-2-v3-0-9f4d4c87f51d@oss.qualcomm.com

Changes in v3:
- Rebased on top of next-20251121 tag
- Drop a612 driver support patch as it got picked up
- Rename rgmu.yaml -> qcom,adreno-rgmu.yaml (Krzysztof)
- Remove reg-names property for rgmu node (Krzysztof)
- Use 'gmu' instead of 'rgmu' as node name (Krzysztof)
- Describe cx_mem and cx_dgc register ranges (Krzysztof)
- A new patch to retrieve gmu core reg resource by id
- Link to v2: https://lore.kernel.org/r/20251107-qcs615-spin-2-v2-0-a2d7c4fbf6e6@oss.qualcomm.com

Changes in v2:
- Rebased on next-20251105
- Fix hwcg configuration (Dan)
- Reuse a few gmu-wrapper routines (Konrad)
- Split out rgmu dt schema (Krzysztof/Dmitry)
- Fixes for GPU dt binding doc (Krzysztof)
- Removed VDD_CX from rgmu dt node. Will post a separate series to
address the gpucc changes (Konrad)
- Fix the reg range size for adreno smmu node and reorder the properties (Konrad)
- Link to v1: https://lore.kernel.org/r/20251017-qcs615-spin-2-v1-0-0baa44f80905@oss.qualcomm.com

---
Gaurav Kohli (1):
      arm64: dts: qcom: talos: Add GPU cooling

Jie Zhang (2):
      arm64: dts: qcom: talos: Add gpu and rgmu nodes
      arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU

Qingqing Zhou (1):
      arm64: dts: qcom: talos: add the GPU SMMU node

 arch/arm64/boot/dts/qcom/qcs615-ride.dts |   8 ++
 arch/arm64/boot/dts/qcom/talos.dtsi      | 149 +++++++++++++++++++++++++++++++
 2 files changed, 157 insertions(+)
---
base-commit: bb4d28e377cf04fbee8a01322059fa14808cdfe9
change-id: 20251015-qcs615-spin-2-ed45b0deb998

Best regards,
-- 
Akhil P Oommen <akhilpo@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node
  2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
@ 2026-03-11 23:09 ` Akhil P Oommen
  2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
  2026-03-11 23:09 ` [PATCH v8 2/4] arm64: dts: qcom: talos: Add gpu and rgmu nodes Akhil P Oommen
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Akhil P Oommen @ 2026-03-11 23:09 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Konrad Dybcio, Dmitry Baryshkov,
	Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Jessica Zhang,
	Gaurav Kohli
  Cc: Dan Carpenter, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	devicetree, Jie Zhang, Akhil P Oommen, Qingqing Zhou,
	Dmitry Baryshkov, Konrad Dybcio

From: Qingqing Zhou <quic_qqzhou@quicinc.com>

Add the Adreno GPU SMMU node for Talos chipset.

Signed-off-by: Qingqing Zhou <quic_qqzhou@quicinc.com>
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/talos.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index e0282a5f9a6a..bad57592f63f 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -1846,6 +1846,31 @@ gpucc: clock-controller@5090000 {
 			#power-domain-cells = <1>;
 		};
 
+		adreno_smmu: iommu@50a0000 {
+			compatible = "qcom,qcs615-smmu-500", "qcom,adreno-smmu",
+				     "qcom,smmu-500", "arm,mmu-500";
+			reg = <0x0 0x050a0000 0x0 0x40000>;
+			#iommu-cells = <2>;
+			#global-interrupts = <1>;
+			interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
+				 <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
+				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
+			clock-names = "mem",
+				      "hlos",
+				      "iface";
+			power-domains = <&gpucc CX_GDSC>;
+			dma-coherent;
+		};
+
 		stm@6002000 {
 			compatible = "arm,coresight-stm", "arm,primecell";
 			reg = <0x0 0x06002000 0x0 0x1000>,

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v8 2/4] arm64: dts: qcom: talos: Add gpu and rgmu nodes
  2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
  2026-03-11 23:09 ` [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node Akhil P Oommen
@ 2026-03-11 23:09 ` Akhil P Oommen
  2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
  2026-03-11 23:09 ` [PATCH v8 3/4] arm64: dts: qcom: talos: Add GPU cooling Akhil P Oommen
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Akhil P Oommen @ 2026-03-11 23:09 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Konrad Dybcio, Dmitry Baryshkov,
	Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Jessica Zhang,
	Gaurav Kohli
  Cc: Dan Carpenter, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	devicetree, Jie Zhang, Akhil P Oommen, Jie Zhang,
	Dmitry Baryshkov, Konrad Dybcio

From: Jie Zhang <quic_jiezh@quicinc.com>

Add gpu and rgmu nodes for Talos chipset.

Signed-off-by: Jie Zhang <quic_jiezh@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/talos.dtsi | 110 ++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index bad57592f63f..11689da96c96 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -651,6 +651,11 @@ rproc_adsp_mem: rproc-adsp@95900000 {
 			reg = <0x0 0x95900000 0x0 0x1e00000>;
 			no-map;
 		};
+
+		pil_gpu_mem: pil-gpu@97715000 {
+			reg = <0x0 0x97715000 0x0 0x2000>;
+			no-map;
+		};
 	};
 
 	soc: soc@0 {
@@ -1833,6 +1838,111 @@ data-pins {
 			};
 		};
 
+		gpu: gpu@5000000 {
+			compatible = "qcom,adreno-612.0", "qcom,adreno";
+			reg = <0x0 0x05000000 0x0 0x40000>,
+			      <0x0 0x0509e000 0x0 0x1000>,
+			      <0x0 0x05061000 0x0 0x800>;
+			reg-names = "kgsl_3d0_reg_memory",
+				    "cx_mem",
+				    "cx_dbgc";
+
+			clocks = <&gpucc GPU_CC_GX_GFX3D_CLK>;
+			clock-names = "core";
+
+			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH 0>;
+
+			interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS
+					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+			interconnect-names = "gfx-mem";
+
+			iommus = <&adreno_smmu 0x0 0x401>;
+
+			operating-points-v2 = <&gpu_opp_table>;
+			power-domains = <&rpmhpd RPMHPD_CX>;
+
+			qcom,gmu = <&gmu>;
+
+			#cooling-cells = <2>;
+
+			status = "disabled";
+
+			gpu_zap_shader: zap-shader {
+				memory-region = <&pil_gpu_mem>;
+			};
+
+			gpu_opp_table: opp-table {
+				compatible = "operating-points-v2";
+
+				opp-845000000 {
+					opp-hz = /bits/ 64 <845000000>;
+					required-opps = <&rpmhpd_opp_turbo>;
+					opp-peak-kBps = <7050000>;
+				};
+
+				opp-745000000 {
+					opp-hz = /bits/ 64 <745000000>;
+					required-opps = <&rpmhpd_opp_nom_l1>;
+					opp-peak-kBps = <6075000>;
+				};
+
+				opp-650000000 {
+					opp-hz = /bits/ 64 <650000000>;
+					required-opps = <&rpmhpd_opp_nom>;
+					opp-peak-kBps = <5287500>;
+				};
+
+				opp-500000000 {
+					opp-hz = /bits/ 64 <500000000>;
+					required-opps = <&rpmhpd_opp_svs_l1>;
+					opp-peak-kBps = <3975000>;
+				};
+
+				opp-435000000 {
+					opp-hz = /bits/ 64 <435000000>;
+					required-opps = <&rpmhpd_opp_svs>;
+					opp-peak-kBps = <3000000>;
+				};
+			};
+		};
+
+		gmu: gmu@506a000 {
+			compatible = "qcom,adreno-rgmu-612.0", "qcom,adreno-rgmu";
+			reg = <0x0 0x0506d000 0x0 0x2c000>;
+
+			clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
+				 <&gpucc GPU_CC_CXO_CLK>,
+				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
+				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
+				 <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>;
+			clock-names = "gmu",
+				      "cxo",
+				      "axi",
+				      "memnoc",
+				      "smmu_vote";
+
+			power-domains = <&gpucc CX_GDSC>,
+					<&gpucc GX_GDSC>;
+			power-domain-names = "cx",
+					     "gx";
+
+			interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH 0>,
+				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH 0>;
+			interrupt-names = "oob",
+					  "gmu";
+
+			operating-points-v2 = <&gmu_opp_table>;
+
+			gmu_opp_table: opp-table {
+				compatible = "operating-points-v2";
+
+				opp-200000000 {
+					opp-hz = /bits/ 64 <200000000>;
+					required-opps = <&rpmhpd_opp_low_svs>;
+				};
+			};
+		};
+
 		gpucc: clock-controller@5090000 {
 			compatible = "qcom,qcs615-gpucc";
 			reg = <0 0x05090000 0 0x9000>;

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v8 3/4] arm64: dts: qcom: talos: Add GPU cooling
  2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
  2026-03-11 23:09 ` [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node Akhil P Oommen
  2026-03-11 23:09 ` [PATCH v8 2/4] arm64: dts: qcom: talos: Add gpu and rgmu nodes Akhil P Oommen
@ 2026-03-11 23:09 ` Akhil P Oommen
  2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
  2026-03-11 23:09 ` [PATCH v8 4/4] arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU Akhil P Oommen
  2026-03-13  4:34 ` Claude review: Support for Adreno 612 GPU - Respin Claude Code Review Bot
  4 siblings, 1 reply; 10+ messages in thread
From: Akhil P Oommen @ 2026-03-11 23:09 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Konrad Dybcio, Dmitry Baryshkov,
	Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Jessica Zhang,
	Gaurav Kohli
  Cc: Dan Carpenter, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	devicetree, Jie Zhang, Akhil P Oommen, Konrad Dybcio,
	Dmitry Baryshkov

From: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>

Unlike the CPU, the GPU does not throttle its speed automatically when it
reaches high temperatures.

Set up GPU cooling by throttling the GPU speed when it reaches 105°C.

Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/talos.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index 11689da96c96..fcd9aa0f5c33 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -19,6 +19,7 @@
 #include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/power/qcom,rpmhpd.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
+#include <dt-bindings/thermal/thermal.h>
 
 / {
 	interrupt-parent = <&intc>;
@@ -4985,12 +4986,25 @@ gpu-thermal {
 			thermal-sensors = <&tsens0 9>;
 
 			trips {
+				gpu_alert0: trip-point0 {
+					temperature = <105000>;
+					hysteresis = <5000>;
+					type = "passive";
+				};
+
 				gpu-critical {
 					temperature = <115000>;
 					hysteresis = <1000>;
 					type = "critical";
 				};
 			};
+
+			cooling-maps {
+				map0 {
+					trip = <&gpu_alert0>;
+					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+				};
+			};
 		};
 
 		q6-hvx-thermal {

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v8 4/4] arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU
  2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
                   ` (2 preceding siblings ...)
  2026-03-11 23:09 ` [PATCH v8 3/4] arm64: dts: qcom: talos: Add GPU cooling Akhil P Oommen
@ 2026-03-11 23:09 ` Akhil P Oommen
  2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
  2026-03-13  4:34 ` Claude review: Support for Adreno 612 GPU - Respin Claude Code Review Bot
  4 siblings, 1 reply; 10+ messages in thread
From: Akhil P Oommen @ 2026-03-11 23:09 UTC (permalink / raw)
  To: Rob Clark, Sean Paul, Konrad Dybcio, Dmitry Baryshkov,
	Abhinav Kumar, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Jessica Zhang,
	Gaurav Kohli
  Cc: Dan Carpenter, linux-arm-msm, dri-devel, freedreno, linux-kernel,
	devicetree, Jie Zhang, Akhil P Oommen, Jie Zhang, Konrad Dybcio,
	Dmitry Baryshkov

From: Jie Zhang <quic_jiezh@quicinc.com>

Enable GPU for qcs615-ride platform and provide path for zap
shader.

Signed-off-by: Jie Zhang <quic_jiezh@quicinc.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/qcs615-ride.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
index 4f5dca49e15a..0bb1ee06127d 100644
--- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts
+++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
@@ -372,6 +372,14 @@ vreg_l17a: ldo17 {
 	};
 };
 
+&gpu {
+	status = "okay";
+};
+
+&gpu_zap_shader {
+	firmware-name = "qcom/qcs615/a612_zap.mbn";
+};
+
 &i2c2 {
 	clock-frequency = <400000>;
 	status = "okay";

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Claude review: Support for Adreno 612 GPU - Respin
  2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
                   ` (3 preceding siblings ...)
  2026-03-11 23:09 ` [PATCH v8 4/4] arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU Akhil P Oommen
@ 2026-03-13  4:34 ` Claude Code Review Bot
  4 siblings, 0 replies; 10+ messages in thread
From: Claude Code Review Bot @ 2026-03-13  4:34 UTC (permalink / raw)
  To: dri-devel-reviews

Overall Series Review

Subject: Support for Adreno 612 GPU - Respin
Author: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patches: 5
Reviewed: 2026-03-13T14:34:42.499039

---

This is a v8 DT-only patch series adding Adreno 612 GPU support for the QCS615/Talos chipset. The series is well-structured: SMMU node first, then GPU+RGMU nodes, then thermal cooling, then board-level enablement. All patches carry Reviewed-by tags from Dmitry Baryshkov and Konrad Dybcio. The driver support patches have already been merged separately.

There is one notable issue: a **unit address mismatch** in the GMU node name. Otherwise the series looks clean and follows established patterns from similar Qualcomm SoCs.

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Claude review: arm64: dts: qcom: talos: add the GPU SMMU node
  2026-03-11 23:09 ` [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node Akhil P Oommen
@ 2026-03-13  4:34   ` Claude Code Review Bot
  0 siblings, 0 replies; 10+ messages in thread
From: Claude Code Review Bot @ 2026-03-13  4:34 UTC (permalink / raw)
  To: dri-devel-reviews

Patch Review

**No issues found.** This is a straightforward SMMU node addition.

- The compatible string chain `"qcom,qcs615-smmu-500", "qcom,adreno-smmu", "qcom,smmu-500", "arm,mmu-500"` follows the standard pattern for Adreno GPU SMMUs.
- 1 global interrupt + 8 context bank interrupts (9 total) with `#global-interrupts = <1>` is correct.
- 3 clocks (`mem`, `hlos`, `iface`) match established patterns (e.g., SDM845).
- `dma-coherent` is appropriate for GPU SMMU on this SoC.
- Node is correctly placed after `gpucc` in address order (`0x50a0000` > `0x5090000`).

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Claude review: arm64: dts: qcom: talos: Add gpu and rgmu nodes
  2026-03-11 23:09 ` [PATCH v8 2/4] arm64: dts: qcom: talos: Add gpu and rgmu nodes Akhil P Oommen
@ 2026-03-13  4:34   ` Claude Code Review Bot
  0 siblings, 0 replies; 10+ messages in thread
From: Claude Code Review Bot @ 2026-03-13  4:34 UTC (permalink / raw)
  To: dri-devel-reviews

Patch Review

**Issue: GMU node unit address mismatch.**

The node name is `gmu@506a000` but the `reg` property starts at `0x0506d000`:

```dts
gmu: gmu@506a000 {
    compatible = "qcom,adreno-rgmu-612.0", "qcom,adreno-rgmu";
    reg = <0x0 0x0506d000 0x0 0x2c000>;
```

Per DT conventions, the unit address in the node name must match the first address in the `reg` property. This should be `gmu@506d000`. For comparison, the full GMU on SDM845 uses `gmu@506a000` with `reg = <0 0x0506a000 ...>` — matching correctly. The RGMU on this SoC starts at a different offset and the node name must reflect that. This will likely trigger a `dtbs_check` warning (`node name unit address does not match first reg entry`).

Note: The binding document example (`qcom,adreno-rgmu.yaml` line 90–93) itself has a mismatch (`gmu@506a000` with `reg = <0x05000000 0x90000>`) — that's a pre-existing issue in the binding doc, not introduced by this series, but worth fixing as a follow-up.

**Rest of patch 2 looks good:**
- The `pil_gpu_mem` reserved memory region at `0x97715000` with size `0x2000` and `no-map` is standard for GPU firmware.
- The GPU node at `gpu@5000000` follows the established A6xx pattern with correct `reg-names` (`kgsl_3d0_reg_memory`, `cx_mem`, `cx_dbgc`).
- OPP table has 5 entries (435–845 MHz) with correct power domain / bandwidth pairings.
- `power-domains = <&rpmhpd RPMHPD_CX>` is correct for 6xx-gen1 GPUs.
- `#cooling-cells = <2>` is added here, enabling the thermal binding in patch 3.
- `status = "disabled"` is correct for an SoC-level dtsi — enablement comes per-board.
- GMU clocks and power domains match the RGMU binding schema.
- Address ordering (gpu, gmu, gpucc, smmu) is correct within the SoC node.

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Claude review: arm64: dts: qcom: talos: Add GPU cooling
  2026-03-11 23:09 ` [PATCH v8 3/4] arm64: dts: qcom: talos: Add GPU cooling Akhil P Oommen
@ 2026-03-13  4:34   ` Claude Code Review Bot
  0 siblings, 0 replies; 10+ messages in thread
From: Claude Code Review Bot @ 2026-03-13  4:34 UTC (permalink / raw)
  To: dri-devel-reviews

Patch Review

**No issues found.** Clean and standard GPU thermal throttling setup.

- Adds the `thermal.h` include needed for `THERMAL_NO_LIMIT`.
- Passive trip point at 105°C with 5°C hysteresis is a sensible threshold below the existing 115°C critical trip.
- `cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>` correctly references the GPU node which has `#cooling-cells = <2>` from patch 2.
- Good commit message explaining why GPU cooling is needed (GPU doesn't self-throttle unlike CPU).

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Claude review: arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU
  2026-03-11 23:09 ` [PATCH v8 4/4] arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU Akhil P Oommen
@ 2026-03-13  4:34   ` Claude Code Review Bot
  0 siblings, 0 replies; 10+ messages in thread
From: Claude Code Review Bot @ 2026-03-13  4:34 UTC (permalink / raw)
  To: dri-devel-reviews

Patch Review

**No issues found.** Minimal and correct board-level enablement.

- Sets `status = "okay"` on the GPU node.
- Sets `firmware-name` for the zap shader on the `gpu_zap_shader` subnode rather than overriding more properties than necessary.
- `firmware-name = "qcom/qcs615/a612_zap.mbn"` follows the standard Qualcomm firmware path convention.
- Alphabetical placement between `&gpu` and `&i2c2` in the board file is correct.

**Summary of required changes:**
1. **Patch 2**: Fix `gmu@506a000` → `gmu@506d000` to match `reg = <0x0 0x0506d000 ...>`.

---
Generated by Claude Code Patch Reviewer

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-13  4:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 23:09 [PATCH v8 0/4] Support for Adreno 612 GPU - Respin Akhil P Oommen
2026-03-11 23:09 ` [PATCH v8 1/4] arm64: dts: qcom: talos: add the GPU SMMU node Akhil P Oommen
2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
2026-03-11 23:09 ` [PATCH v8 2/4] arm64: dts: qcom: talos: Add gpu and rgmu nodes Akhil P Oommen
2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
2026-03-11 23:09 ` [PATCH v8 3/4] arm64: dts: qcom: talos: Add GPU cooling Akhil P Oommen
2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
2026-03-11 23:09 ` [PATCH v8 4/4] arm64: dts: qcom: qcs615-ride: Enable Adreno 612 GPU Akhil P Oommen
2026-03-13  4:34   ` Claude review: " Claude Code Review Bot
2026-03-13  4:34 ` Claude review: Support for Adreno 612 GPU - Respin Claude Code Review Bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox