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 <[email protected]>

> 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 <[email protected]>
> Signed-off-by: Nabige Aala <[email protected]>

[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/[email protected]?part=5

Reply via email to