public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: arm64: dts: qcom: Add GPU support for Kaanapali
Date: Sat, 16 May 2026 14:35:13 +1000	[thread overview]
Message-ID: <review-patch5-20260512-kaana-gpu-dt-v1-5-13e1c07c2050@oss.qualcomm.com> (raw)
In-Reply-To: <20260512-kaana-gpu-dt-v1-5-13e1c07c2050@oss.qualcomm.com>

Patch Review

**Status: Node ordering issue**

This is the main patch adding the GPU and GMU nodes. The GPU node at `gpu@3d00000` and GMU node at `gmu@3d6c000` are both well-structured and follow modern Adreno DT conventions.

**Node ordering problem:** The patch inserts both `gpu@3d00000` and `gmu@3d6c000` before the existing `gxclkctl@3d64000` node:

```diff
+		gpu: gpu@3d00000 {
             ...
+		gmu: gmu@3d6c000 {
             ...
 		gxclkctl: clock-controller@3d64000 {
```

The correct address-sorted order should be:
1. `gpu@3d00000`
2. `gxclkctl@3d64000` (existing)
3. `gmu@3d6c000`

The `gmu` node (0x3d6c000) should be placed **after** `gxclkctl` (0x3d64000), not before it. DT convention is to sort sibling nodes by unit address.

**GPU node details** - all look correct:
- Compatible `"qcom,adreno-44050a01", "qcom,adreno"` matches the binding update in patch 2
- Two reg regions (`kgsl_3d0_reg_memory` at 0x6c000 size, `cx_mem` at 0x2000 size) — consistent with the reg layout conditional in the binding
- `iommus = <&adreno_smmu 0 0x0>, <&adreno_smmu 1 0x0>` — two IOMMU contexts with SID 0x0 (newer pattern vs 0x400 on older SoCs)
- OPP table ranges from 222MHz to 1.3GHz with proper speed-bin masking (`opp-supported-hw` narrows from 0x0f to 0x03 at the top bins)
- `#cooling-cells = <2>` for thermal integration in patch 6
- Interconnect path to `mc_virt SLAVE_EBI1` for memory bandwidth voting

**GMU node details:**
- Compatible `"qcom,adreno-gmu-840.1", "qcom,adreno-gmu"` — follows naming convention
- Single reg region ("gmu") only — older SoCs (sm8450) had three regions (gmu, rscc, gmu_pdc). This appears intentional for the A8xx architecture but is worth confirming with the author
- 5 clocks (ahb, gmu, cxo, memnoc, hub) — reasonable for this generation
- Power domains reference both `GPU_CC_CX_GDSC` and `GX_CLKCTL_GX_GDSC` — the GX domain uses the gxclkctl rather than gpucc, which is a newer pattern seen on recent Qualcomm SoCs
- GMU OPP table has 5 frequency points from 475MHz to 750MHz

---

---
Generated by Claude Code Patch Reviewer

  parent reply	other threads:[~2026-05-16  4:35 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 22:23 [PATCH 0/8] arm64: dts: qcom: Devicetree support for Kaanapali GPU Akhil P Oommen
2026-05-11 22:23 ` [PATCH 1/8] dt-bindings: arm-smmu: Update the description for Kaanapali GPU SMMU Akhil P Oommen
2026-05-15  8:41   ` Krzysztof Kozlowski
2026-05-15 20:26     ` Akhil P Oommen
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 2/8] dt-bindings: display/msm: gpu: Document Adreno 840 Akhil P Oommen
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 3/8] arm64: dts: qcom: kaanapali: add the GPU SMMU node Akhil P Oommen
2026-05-13 16:51   ` Dmitry Baryshkov
2026-05-14 12:36   ` Konrad Dybcio
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 4/8] arm64: dts: qcom: kaanapali: Add qfprom node Akhil P Oommen
2026-05-13 16:52   ` Dmitry Baryshkov
2026-05-14 12:44   ` Konrad Dybcio
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 5/8] arm64: dts: qcom: Add GPU support for Kaanapali Akhil P Oommen
2026-05-13 16:53   ` Dmitry Baryshkov
2026-05-14 12:43   ` Konrad Dybcio
2026-05-15 22:08     ` Akhil P Oommen
2026-05-16  4:35   ` Claude Code Review Bot [this message]
2026-05-11 22:23 ` [PATCH 6/8] arm64: dts: qcom: kaanapali: Add GPU cooling Akhil P Oommen
2026-05-13 17:53   ` Dmitry Baryshkov
2026-05-14  6:47     ` Gaurav Kohli
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 7/8] arm64: dts: qcom: kaanapali-mtp: Enable GPU Akhil P Oommen
2026-05-13 17:54   ` Dmitry Baryshkov
2026-05-14 12:36   ` Konrad Dybcio
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-11 22:23 ` [PATCH 8/8] arm64: dts: qcom: kaanapali-qrd: " Akhil P Oommen
2026-05-13 17:54   ` Dmitry Baryshkov
2026-05-14 12:37   ` Konrad Dybcio
2026-05-16  4:35   ` Claude review: " Claude Code Review Bot
2026-05-16  4:35 ` Claude review: arm64: dts: qcom: Devicetree support for Kaanapali GPU Claude Code Review Bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=review-patch5-20260512-kaana-gpu-dt-v1-5-13e1c07c2050@oss.qualcomm.com \
    --to=claude-review@example.com \
    --cc=dri-devel-reviews@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox