mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/msm: Mahua GPU support
@ 2026-09-24 21:14 Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Fix Glymur's compatible Akhil P Oommen
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

This series adds support for the Adreno X2-85 GPU present in the Mahua SoC.
It is a smaller variant of the Glymur GPU, with fewer slices and smaller
internal memories, but it shares the same register layout. As a result,
only minor changes are required to enable support for it.

The first couple of patches fix an error I introduced in the earlier
Glymur series. I incorrectly assumed the X2-85 was the GPU used in
Glymur and used it in the compatible string. I believe it is reasonable
to correct this now, considering that the Glymur DT patches were only
picked up recently.

The DT patches are for Bjorn and the remaining patches are for Rob Clark
to pick up.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
Jie Zhang (5):
      dt-bindings: display/msm/gmu: Fix Glymur's compatible
      arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible
      drm/msm/a8xx: Add Mahua GPU support
      dt-bindings: display/msm: gpu: Document Mahua GPU/GMU
      arm64: dts: qcom: mahua: Support GPU and GMU

 .../devicetree/bindings/display/msm/gmu.yaml       |  4 ++-
 .../devicetree/bindings/display/msm/gpu.yaml       |  1 +
 arch/arm64/boot/dts/qcom/glymur.dtsi               |  2 +-
 arch/arm64/boot/dts/qcom/mahua.dtsi                |  8 +++++
 drivers/gpu/drm/msm/adreno/a6xx_catalog.c          | 42 ++++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/a8xx_gpu.c              |  2 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.h            |  7 ++--
 7 files changed, 61 insertions(+), 5 deletions(-)
---
base-commit: 1e9b8055458b92f9ebab6f39d97ade5265a0b012
change-id: 20260925-mahua-gpu-341a15603d23

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


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

* [PATCH 1/5] dt-bindings: display/msm/gmu: Fix Glymur's compatible
  2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
@ 2026-09-24 21:14 ` Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible Akhil P Oommen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

From: Jie Zhang <jie.zhang@oss.qualcomm.com>

The Glymur GMU compatible string was incorrectly documented as
qcom,adreno-gmu-x285.1. Fix it to use the correct string
qcom,adreno-gmu-x290.1.

Fixes: 7bc29d5fb6fa ("dt-bindings: display/msm/gmu: Add Adreno X2-85 GMU")
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/display/msm/gmu.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml
index 9e459f12ce3f..f22661447e7c 100644
--- a/Documentation/devicetree/bindings/display/msm/gmu.yaml
+++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml
@@ -363,7 +363,7 @@ allOf:
       properties:
         compatible:
           contains:
-            const: qcom,adreno-gmu-x285.1
+            const: qcom,adreno-gmu-x290.1
     then:
       properties:
         reg:

-- 
2.55.0


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

* [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible
  2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Fix Glymur's compatible Akhil P Oommen
@ 2026-09-24 21:14 ` Akhil P Oommen
  2026-09-25  9:50   ` Abel Vesa
  2026-09-25 10:19   ` Konrad Dybcio
  2026-09-24 21:14 ` [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support Akhil P Oommen
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

From: Jie Zhang <jie.zhang@oss.qualcomm.com>

The Glymur's GMU compatible was set to the wrong string
qcom,adreno-gmu-x285.1. Correct it to qcom,adreno-gmu-x290.1.

Fixes: b6ff8cec8aaa ("arm64: dts: qcom: Add GPU support for Glymur")
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index de7c395d9c35..29c62118cec5 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -4286,7 +4286,7 @@ gxclkctl: clock-controller@3d64000 {
 		};
 
 		gmu: gmu@3d6c000 {
-			compatible = "qcom,adreno-gmu-x285.1", "qcom,adreno-gmu";
+			compatible = "qcom,adreno-gmu-x290.1", "qcom,adreno-gmu";
 
 			reg = <0x0 0x03d6c000 0x0 0x32000>;
 			reg-names = "gmu";

-- 
2.55.0


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

* [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support
  2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Fix Glymur's compatible Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible Akhil P Oommen
@ 2026-09-24 21:14 ` Akhil P Oommen
  2026-09-25 10:19   ` Konrad Dybcio
  2026-09-24 21:14 ` [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU Akhil P Oommen
  4 siblings, 1 reply; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

From: Jie Zhang <jie.zhang@oss.qualcomm.com>

Add support for Adreno X2-85 GPU present in Mahua SoC. This GPU is a
smaller version of Glymur GPU with fewer slices and smaller internal
memories, but shares the same register layout. Also, the GMU chipid is
different when compared to Glymur's GPU. Add a new catalog entry to
support this GPU.

Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 42 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/a8xx_gpu.c     |  2 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.h   |  7 ++++--
 3 files changed, 48 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
index 90a0c7ffb3c8..3f11b16e9a1f 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
+++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c
@@ -2524,6 +2524,48 @@ static const struct adreno_info a8xx_gpus[] = {
 			{ 242, 1 },
 			{ 221, 2 },
 		),
+	}, {
+		.chip_ids = ADRENO_CHIP_IDS(0x44060000),
+		.family = ADRENO_8XX_GEN2,
+		.fw = {
+			[ADRENO_FW_SQE] = "gen80100_sqe.fw",
+			[ADRENO_FW_GMU] = "gen80100_gmu.bin",
+			[ADRENO_FW_AQE] = "gen80100_aqe.fw",
+		},
+		.gmem = 15 * SZ_1M + SZ_512K + SZ_256K,
+		.inactive_period = DRM_MSM_INACTIVE_PERIOD,
+		.quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT |
+			  ADRENO_QUIRK_HAS_HW_APRIV |
+			  ADRENO_QUIRK_PREEMPTION |
+			  ADRENO_QUIRK_SOFTFUSE,
+		.funcs = &a8xx_gpu_funcs,
+		.a6xx = &(const struct a6xx_info) {
+			.protect = &x285_protect,
+			.nonctxt_reglist = x285_nonctxt_regs,
+			.pwrup_reglist = &a840_pwrup_reglist,
+			.dyn_pwrup_reglist = &x285_dyn_pwrup_reglist,
+			.ifpc_reglist = &a840_ifpc_reglist,
+			.gbif_cx = a840_gbif,
+			.max_slices = 3,
+			.gmu_chipid = 0x80a0000,
+			.bcms = (const struct a6xx_bcm[]) {
+				{ .name = "SH0", .buswidth = 16 },
+				{ .name = "MC0", .buswidth = 4 },
+				{
+					.name = "ACV",
+					.fixed = true,
+					.perfmode = BIT(2),
+					.perfmode_bw = 16500000,
+				},
+				{ /* sentinel */ },
+			},
+		},
+		.speedbins = ADRENO_SPEEDBINS(
+			{ 0,   0 },
+			{ 388, 1 },
+			{ 357, 2 },
+			{ 284, 3 },
+		),
 	}
 };
 
diff --git a/drivers/gpu/drm/msm/adreno/a8xx_gpu.c b/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
index add93c1fa039..165620d51109 100644
--- a/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a8xx_gpu.c
@@ -200,7 +200,7 @@ static void a8xx_set_hwcg(struct msm_gpu *gpu, bool state)
 	struct a6xx_gmu *gmu = &a6xx_gpu->gmu;
 	u32 val;
 
-	if (adreno_is_x285(adreno_gpu) && state)
+	if (adreno_is_x285_family(adreno_gpu) && state)
 		gpu_write(gpu, REG_A8XX_RBBM_CGC_0_PC, 0x00000702);
 
 	gmu_write(gmu, REG_A6XX_GPU_GMU_AO_GMU_CGC_MODE_CNTL,
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.h b/drivers/gpu/drm/msm/adreno/adreno_gpu.h
index 114a40f79ef3..eb394d9a1d9d 100644
--- a/drivers/gpu/drm/msm/adreno/adreno_gpu.h
+++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.h
@@ -597,9 +597,12 @@ static inline int adreno_is_a810(struct adreno_gpu *gpu)
 	return gpu->info->chip_ids[0] == 0x44010000;
 }
 
-static inline int adreno_is_x285(struct adreno_gpu *gpu)
+static inline int adreno_is_x285_family(const struct adreno_gpu *gpu)
 {
-	return gpu->info->chip_ids[0] == 0x44070001;
+	if (WARN_ON_ONCE(!gpu->info))
+		return false;
+	return gpu->info->chip_ids[0] == 0x44060000 ||
+	       gpu->info->chip_ids[0] == 0x44070001;
 }
 
 static inline int adreno_is_a840(struct adreno_gpu *gpu)

-- 
2.55.0


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

* [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU
  2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
                   ` (2 preceding siblings ...)
  2026-09-24 21:14 ` [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support Akhil P Oommen
@ 2026-09-24 21:14 ` Akhil P Oommen
  2026-09-24 21:14 ` [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU Akhil P Oommen
  4 siblings, 0 replies; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

From: Jie Zhang <jie.zhang@oss.qualcomm.com>

Adreno X2-85 GPU found in mahua SoC belongs to the A8x family and
is a smaller variant of X2-90 with fewer slices and smaller internal
memories. Update the dt bindings documentation to describe this GPU
along with it's GMU.

Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/display/msm/gmu.yaml | 4 +++-
 Documentation/devicetree/bindings/display/msm/gpu.yaml | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml
index f22661447e7c..d10d6147358e 100644
--- a/Documentation/devicetree/bindings/display/msm/gmu.yaml
+++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml
@@ -363,7 +363,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: qcom,adreno-gmu-x290.1
+            enum:
+              - qcom,adreno-gmu-x285.0
+              - qcom,adreno-gmu-x290.1
     then:
       properties:
         reg:
diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml
index e5efe2d35ddc..8a103f998dd8 100644
--- a/Documentation/devicetree/bindings/display/msm/gpu.yaml
+++ b/Documentation/devicetree/bindings/display/msm/gpu.yaml
@@ -452,6 +452,7 @@ allOf:
               - qcom,adreno-43051401
               - qcom,adreno-44010000
               - qcom,adreno-44050a01
+              - qcom,adreno-44060000
               - qcom,adreno-44070001
 
     then: # Starting with A6xx, the clocks are usually defined in the GMU node

-- 
2.55.0


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

* [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU
  2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
                   ` (3 preceding siblings ...)
  2026-09-24 21:14 ` [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU Akhil P Oommen
@ 2026-09-24 21:14 ` Akhil P Oommen
  2026-09-25  9:49   ` Abel Vesa
  2026-09-25 10:19   ` Konrad Dybcio
  4 siblings, 2 replies; 11+ messages in thread
From: Akhil P Oommen @ 2026-09-24 21:14 UTC (permalink / raw)
  To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Konrad Dybcio, Akhil P Oommen,
	Jie Zhang

From: Jie Zhang <jie.zhang@oss.qualcomm.com>

Mahua SoC has a new GPU called Adreno X2-85, a slightly smaller variant
of the Adreno X2-90 found on glymur. Override the compatible strings to
correctly support it's GPU and GMU.

Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/mahua.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi
index a59c5ed7b48e..25b40c33521c 100644
--- a/arch/arm64/boot/dts/qcom/mahua.dtsi
+++ b/arch/arm64/boot/dts/qcom/mahua.dtsi
@@ -127,6 +127,14 @@ &gcc {
 		 <0>;				/* USB4 PHY 2 Max */
 };
 
+&gmu {
+	compatible = "qcom,adreno-gmu-x285.0", "qcom,adreno-gmu";
+};
+
+&gpu {
+	compatible = "qcom,adreno-44060000", "qcom,adreno";
+};
+
 &hsc_noc {
 	compatible = "qcom,mahua-hscnoc";
 };

-- 
2.55.0


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

* Re: [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU
  2026-09-24 21:14 ` [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU Akhil P Oommen
@ 2026-09-25  9:49   ` Abel Vesa
  2026-09-25 10:19   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Abel Vesa @ 2026-09-25  9:49 UTC (permalink / raw)
  To: Akhil P Oommen
  Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski, linux-arm-msm,
	dri-devel, freedreno, devicetree, linux-kernel, Konrad Dybcio,
	Jie Zhang

On 26-09-25 02:44:36, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@oss.qualcomm.com>
> 
> Mahua SoC has a new GPU called Adreno X2-85, a slightly smaller variant
> of the Adreno X2-90 found on glymur. Override the compatible strings to
> correctly support it's GPU and GMU.
> 
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

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

* Re: [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible
  2026-09-24 21:14 ` [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible Akhil P Oommen
@ 2026-09-25  9:50   ` Abel Vesa
  2026-09-25 10:19   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Abel Vesa @ 2026-09-25  9:50 UTC (permalink / raw)
  To: Akhil P Oommen
  Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
	Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski, linux-arm-msm,
	dri-devel, freedreno, devicetree, linux-kernel, Konrad Dybcio,
	Jie Zhang

On 26-09-25 02:44:33, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@oss.qualcomm.com>
> 
> The Glymur's GMU compatible was set to the wrong string
> qcom,adreno-gmu-x285.1. Correct it to qcom,adreno-gmu-x290.1.
> 
> Fixes: b6ff8cec8aaa ("arm64: dts: qcom: Add GPU support for Glymur")
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

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

* Re: [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU
  2026-09-24 21:14 ` [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU Akhil P Oommen
  2026-09-25  9:49   ` Abel Vesa
@ 2026-09-25 10:19   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-09-25 10:19 UTC (permalink / raw)
  To: Akhil P Oommen, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
	Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Jie Zhang

On 9/24/26 11:14 PM, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@oss.qualcomm.com>
> 
> Mahua SoC has a new GPU called Adreno X2-85, a slightly smaller variant
> of the Adreno X2-90 found on glymur. Override the compatible strings to
> correctly support it's GPU and GMU.
> 
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

* Re: [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible
  2026-09-24 21:14 ` [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible Akhil P Oommen
  2026-09-25  9:50   ` Abel Vesa
@ 2026-09-25 10:19   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-09-25 10:19 UTC (permalink / raw)
  To: Akhil P Oommen, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
	Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Jie Zhang

On 9/24/26 11:14 PM, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@oss.qualcomm.com>
> 
> The Glymur's GMU compatible was set to the wrong string
> qcom,adreno-gmu-x285.1. Correct it to qcom,adreno-gmu-x290.1.
> 
> Fixes: b6ff8cec8aaa ("arm64: dts: qcom: Add GPU support for Glymur")
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

* Re: [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support
  2026-09-24 21:14 ` [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support Akhil P Oommen
@ 2026-09-25 10:19   ` Konrad Dybcio
  0 siblings, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-09-25 10:19 UTC (permalink / raw)
  To: Akhil P Oommen, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
	Jessica Zhang, Sean Paul, Marijn Suijten, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio, Abel Vesa
  Cc: Krzysztof Kozlowski, linux-arm-msm, dri-devel, freedreno,
	devicetree, linux-kernel, Jie Zhang

On 9/24/26 11:14 PM, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@oss.qualcomm.com>
> 
> Add support for Adreno X2-85 GPU present in Mahua SoC. This GPU is a
> smaller version of Glymur GPU with fewer slices and smaller internal
> memories, but shares the same register layout. Also, the GMU chipid is
> different when compared to Glymur's GPU. Add a new catalog entry to
> support this GPU.
> 
> Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

end of thread, other threads:[~2026-09-25 10:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 21:14 [PATCH 0/5] drm/msm: Mahua GPU support Akhil P Oommen
2026-09-24 21:14 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Fix Glymur's compatible Akhil P Oommen
2026-09-24 21:14 ` [PATCH 2/5] arm64: dts: qcom: glymur: fix Adreno X2-90 GMU compatible Akhil P Oommen
2026-09-25  9:50   ` Abel Vesa
2026-09-25 10:19   ` Konrad Dybcio
2026-09-24 21:14 ` [PATCH 3/5] drm/msm/a8xx: Add Mahua GPU support Akhil P Oommen
2026-09-25 10:19   ` Konrad Dybcio
2026-09-24 21:14 ` [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU Akhil P Oommen
2026-09-24 21:14 ` [PATCH 5/5] arm64: dts: qcom: mahua: Support GPU and GMU Akhil P Oommen
2026-09-25  9:49   ` Abel Vesa
2026-09-25 10:19   ` Konrad Dybcio

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

all inboxes | Powered by JetHome®