Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Akhil P Oommen" <akhilpo@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org, conor+dt@kernel.org,
	robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU
Date: Thu, 24 Sep 2026 21:22:22 +0000	[thread overview]
Message-ID: <20260924212222.76B251F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260925-mahua-gpu-v1-4-0fa0bfd8d315@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: display/msm/gpu: missing compatible string in reg constraints block
--

commit 31fba47631141728d25d3c820a8da841bf562a70
Author: Jie Zhang <jie.zhang@oss.qualcomm.com>

dt-bindings: display/msm: gpu: Document Mahua GPU/GMU

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.

> diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/devicetree/bindings/display/msm/gpu.yaml
> index e5efe2d35ddcc..8a103f998dd87 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

[Severity: Medium]
Does the new compatible string qcom,adreno-44060000 also need to be added
to the earlier conditional block for the A8x GPU family?

Documentation/devicetree/bindings/display/msm/gpu.yaml:allOf.if
  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,adreno-44010000
              - qcom,adreno-44050a01
              - qcom,adreno-44070001
    then:
      properties:
        reg:
          minItems: 2
          maxItems: 2

Without it, the device tree schema will fail to enforce the correct register
count of exactly 2 regions for the new Adreno X2-85 GPU variant when a device
tree node is added with an incorrect number of reg regions. This allows
invalid nodes to silently pass validation.

>                - qcom,adreno-44070001
>  
>      then: # Starting with A6xx, the clocks are usually defined in the GMU node

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260925-mahua-gpu-v1-0-0fa0bfd8d315@oss.qualcomm.com?part=4

  reply	other threads:[~2026-09-24 21:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-28  2:40   ` Bjorn Andersson
2026-09-28 19:05     ` 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-30 18:38   ` Rahul Pon
2026-09-24 21:14 ` [PATCH 4/5] dt-bindings: display/msm: gpu: Document Mahua GPU/GMU Akhil P Oommen
2026-09-24 21:22   ` sashiko-bot [this message]
2026-09-25 18:38     ` 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
2026-09-30 18:39   ` Rahul Pon

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=20260924212222.76B251F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=akhilpo@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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