All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Nabige Aala" <nabige.aala@oss.qualcomm.com>
Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org, robh@kernel.org,
	conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
	olteanv@gmail.com
Subject: Re: [PATCH v4 05/10] drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts
Date: Thu, 03 Dec 2026 10:50:53 +0000	[thread overview]
Message-ID: <sashiko-outbox-247613@kernel.org> (raw)
In-Reply-To: <20261203-nord-drv-dt-v4-5-a899d23af07a@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/msm/dpu: inaccurate commit message failure mode and omitted
  enum update
--

commit 1cedbacc5a183cbc7a4819efa25680c948c5ad8b
Author: Nabige Aala <nabige.aala@oss.qualcomm.com>

> drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts
>
> Nord requires INTF_9 and INTF_10. However, enum dpu_hw_intr_reg relies
> on all MDP_INTFn_INTR entries being sequential — MDP_INTFn_INTR() macro
> computes the interrupt index as MDP_INTF0_INTR + (intf - INTF_0).
> Appending INTF_9 and INTF_10 after the tear entries would break this
> assumption, causing DSI tear interrupts on existing platforms to map to
> wrong interrupt registers.
>
> Fix this by inserting MDP_INTF9_INTR and MDP_INTF10_INTR before
> MDP_INTF1_TEAR_INTR and MDP_INTF2_TEAR_INTR, keeping the sequential
> block intact. Add the corresponding register entries to
> dpu_intr_set_7xxx and dpu_intr_set_13xx.
>
> Signed-off-by: Mahadevan P <mahadevan.p@oss.qualcomm.com>
> Signed-off-by: Nabige Aala <nabige.aala@oss.qualcomm.com>

[Severity: Low]
Is the commit message accurate about what breaks if MDP_INTF9_INTR and
MDP_INTF10_INTR are placed after the tear entries?

Existing platforms do not declare INTF_9 or INTF_10, and the interrupt
tables use designated initializers keyed by enum dpu_hw_intr_reg values,
so existing DSI tear interrupts would still map to the same registers.

Instead, platforms using INTF_9 or INTF_10 would break, because
MDP_INTFn_INTR() would resolve those interfaces to MDP_INTF1_TEAR_INTR
and MDP_INTF2_TEAR_INTR in dpu_hw_intr_init().

Framing this as "Fix this" for existing platforms also reads like a
regression fix rather than new-hardware enablement, and the changelog
omits the addition of INTF_9 and INTF_10 to enum dpu_intf in
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com?part=5

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Nabige Aala" <nabige.aala@oss.qualcomm.com>
Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org, robh@kernel.org,
	conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org,
	olteanv@gmail.com
Subject: Re: [PATCH v4 05/10] drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts
Date: Thu, 03 Dec 2026 10:50:53 +0000	[thread overview]
Message-ID: <sashiko-outbox-247613@kernel.org> (raw)
In-Reply-To: <20261203-nord-drv-dt-v4-5-a899d23af07a@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/msm/dpu: inaccurate commit message failure mode and omitted
  enum update
--

commit 1cedbacc5a183cbc7a4819efa25680c948c5ad8b
Author: Nabige Aala <nabige.aala@oss.qualcomm.com>

> drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts
>
> Nord requires INTF_9 and INTF_10. However, enum dpu_hw_intr_reg relies
> on all MDP_INTFn_INTR entries being sequential — MDP_INTFn_INTR() macro
> computes the interrupt index as MDP_INTF0_INTR + (intf - INTF_0).
> Appending INTF_9 and INTF_10 after the tear entries would break this
> assumption, causing DSI tear interrupts on existing platforms to map to
> wrong interrupt registers.
>
> Fix this by inserting MDP_INTF9_INTR and MDP_INTF10_INTR before
> MDP_INTF1_TEAR_INTR and MDP_INTF2_TEAR_INTR, keeping the sequential
> block intact. Add the corresponding register entries to
> dpu_intr_set_7xxx and dpu_intr_set_13xx.
>
> Signed-off-by: Mahadevan P <mahadevan.p@oss.qualcomm.com>
> Signed-off-by: Nabige Aala <nabige.aala@oss.qualcomm.com>

[Severity: Low]
Is the commit message accurate about what breaks if MDP_INTF9_INTR and
MDP_INTF10_INTR are placed after the tear entries?

Existing platforms do not declare INTF_9 or INTF_10, and the interrupt
tables use designated initializers keyed by enum dpu_hw_intr_reg values,
so existing DSI tear interrupts would still map to the same registers.

Instead, platforms using INTF_9 or INTF_10 would break, because
MDP_INTFn_INTR() would resolve those interfaces to MDP_INTF1_TEAR_INTR
and MDP_INTF2_TEAR_INTR in dpu_hw_intr_init().

Framing this as "Fix this" for existing platforms also reads like a
regression fix rather than new-hardware enablement, and the changelog
omits the addition of INTF_9 and INTF_10 to enum dpu_intf in
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com?part=5

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-12-03 10:50 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 10:36 [PATCH v4 00/10] Add Qualcomm Nord display and eDP PHY support Nabige Aala
2026-12-03 10:36 ` Nabige Aala
2026-12-03 10:36 ` [PATCH v4 01/10] dt-bindings: phy: qcom,edp-phy: Add DP PHY compatible for Nord Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:36 ` [PATCH v4 02/10] dt-bindings: display: msm: dp-controller: Document Nord DisplayPort Controller Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 14:25   ` Krzysztof Kozlowski
2026-12-03 14:25     ` Krzysztof Kozlowski
2026-12-03 10:36 ` [PATCH v4 03/10] dt-bindings: display/msm: Document Nord MDSS Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:55   ` sashiko-bot
2026-12-03 10:55     ` sashiko-bot
2026-12-03 14:27   ` Krzysztof Kozlowski
2026-12-03 14:27     ` Krzysztof Kozlowski
2026-12-03 10:36 ` [PATCH v4 04/10] dt-bindings: display/msm: qcom,sm8650-dpu: Add Qualcomm Nord Soc Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:47   ` sashiko-bot
2026-12-03 10:47     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 05/10] drm/msm/dpu: Add missing INTF_9/INTF_10 interrupts Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:50   ` sashiko-bot [this message]
2026-12-03 10:50     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 06/10] drm/msm/dpu: Add support for DPU 12.1 on Nord Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:59   ` sashiko-bot
2026-12-03 10:59     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 07/10] drm/msm: mdss: Add support for MDSS " Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:53   ` sashiko-bot
2026-12-03 10:53     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 08/10] drm/msm/dp: Add support for DP controllers " Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 10:54   ` sashiko-bot
2026-12-03 10:54     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 09/10] phy: qcom: edp: Generalize power-on path for per-SoC overrides Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 11:03   ` sashiko-bot
2026-12-03 11:03     ` sashiko-bot
2026-12-03 10:36 ` [PATCH v4 10/10] phy: qcom: edp: Add Nord DP PHY support Nabige Aala
2026-12-03 10:36   ` Nabige Aala
2026-12-03 11:06   ` sashiko-bot
2026-12-03 11:06     ` sashiko-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=sashiko-outbox-247613@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=nabige.aala@oss.qualcomm.com \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.