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 06/10] drm/msm/dpu: Add support for DPU 12.1 on Nord
Date: Thu, 03 Dec 2026 10:59:30 +0000 [thread overview]
Message-ID: <sashiko-outbox-247631@kernel.org> (raw)
In-Reply-To: <20261203-nord-drv-dt-v4-6-a899d23af07a@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] drm/msm/dpu: conflicting TOP0 IRQ bits for intf_6..intf_10 in
nord_intf
- [Medium] drm/msm/dpu: conflicting intr_wb_done IRQ bit for WB_1 in
nord_wb
--
commit 709b4002519e598fd50a422d47d34116fa23e078
Author: Mahadevan P <mahadevan.p@oss.qualcomm.com>
drm/msm/dpu: Add support for DPU 12.1 on Nord
This commit adds the DPU 12.1 hardware catalog entry for the Qualcomm
Nord SoC and registers the qcom,nord-dpu compatible string in dpu_kms.
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_1_nord.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_1_nord.h
> new file mode 100644
> index 0000000000000..333eccb5c603a
> --- /dev/null
> +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_1_nord.h
[ ... ]
> +static const struct dpu_wb_cfg nord_wb[] = {
> + {
> + .name = "wb_1", .id = WB_1,
> + .base = 0x64800, .len = 0x2c8,
> + .features = WB_SDM845_MASK,
> + .format_list = wb2_formats_rgb_yuv,
> + .num_formats = ARRAY_SIZE(wb2_formats_rgb_yuv),
> + .xin_id = 7,
> + .maxlinewidth = 4096,
> + .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 3),
> + }, {
> + .name = "wb_2", .id = WB_2,
> + .base = 0x65000, .len = 0x2c8,
> + .features = WB_SDM845_MASK,
> + .format_list = wb2_formats_rgb_yuv,
> + .num_formats = ARRAY_SIZE(wb2_formats_rgb_yuv),
> + .xin_id = 6,
> + .maxlinewidth = 4096,
> + .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 4),
> + },
> +};
[Severity: Medium]
Should wb_1 use MDP_SSPP_TOP0_INTR bit 1 instead of bit 3 for
intr_wb_done?
In drivers/gpu/drm/msm/registers/display/mdp5.xml (MDP5_IRQ), WB_1_DONE
is bit 1 and WB_2_DONE is bit 4, while bit 3 is WD_TIMER_1_DONE.
With bit 3 configured here, writeback completion on WB_1 will wait on
the wrong IRQ status bit and time out once _dpu_kms_setup_displays()
initializes writeback blocks other than WB_2.
[ ... ]
> +static const struct dpu_intf_cfg nord_intf[] = {
[ ... ]
> + }, {
> + .name = "intf_6", .id = INTF_6,
> + .base = 0x3a000, .len = 0x4bc,
> + .type = INTF_DP,
> + .controller_id = MSM_DP_CONTROLLER_0,
> + .prog_fetch_lines_worst_case = 24,
> + .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 22),
> + .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 23),
> + }, {
> + .name = "intf_7", .id = INTF_7,
> + .base = 0x3b000, .len = 0x4bc,
> + .type = INTF_DP,
> + .controller_id = MSM_DP_CONTROLLER_0,
> + .prog_fetch_lines_worst_case = 24,
> + .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 0),
> + .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 1),
> + }, {
> + .name = "intf_8", .id = INTF_8,
> + .base = 0x3c000, .len = 0x4bc,
> + .type = INTF_DP,
> + .controller_id = MSM_DP_CONTROLLER_1,
> + .prog_fetch_lines_worst_case = 24,
> + .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 2),
> + .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 3),
> + }, {
> + .name = "intf_9", .id = INTF_9,
> + .base = 0x3d000, .len = 0x4bc,
> + .type = INTF_DP,
> + .controller_id = MSM_DP_CONTROLLER_1,
> + .prog_fetch_lines_worst_case = 24,
> + .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 4),
> + .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 5),
> + }, {
> + .name = "intf_10", .id = INTF_10,
> + .base = 0x3e000, .len = 0x4bc,
> + .type = INTF_DP,
> + .controller_id = MSM_DP_CONTROLLER_1,
> + .prog_fetch_lines_worst_case = 24,
> + .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 6),
> + .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 7),
> + },
> +};
[Severity: Medium]
Are the intr_underrun and intr_vsync IRQ indices for intf_6 through
intf_10 correct for Nord hardware?
In sibling multi-DP catalogs like dpu_12_2_glymur.h and dpu_8_4_sa8775p.h
(which also omits INTF_5), MDP_SSPP_TOP0_INTR bits 22/23 belong to
INTF_5, while INTF_6, INTF_7, and INTF_8 use bits 16/17, 18/19, and
12/13.
Here intf_6 is placed in INTF_5's slot and intf_7 through intf_10 use
MDP_SSPP_TOP0_INTR2 bits 0 through 7, which no other DPU catalog uses
for interface interrupts.
If these bits do not match the Nord interrupt map, VSYNC and underrun
IRQs on intf_6 through intf_10 will never fire when secondary interfaces
are used (such as for DP MST), causing vblank waits and
dpu_encoder_phys_vid_wait_for_tx_complete() to fail with -ETIMEDOUT.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nord-drv-dt-v4-0-a899d23af07a@oss.qualcomm.com?part=6
next prev parent reply other threads:[~2026-12-03 10:59 UTC|newest]
Thread overview: 19+ 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 ` [PATCH v4 01/10] dt-bindings: phy: qcom,edp-phy: Add DP PHY compatible for Nord 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 ` [PATCH v4 03/10] dt-bindings: display/msm: Document Nord MDSS Nabige Aala
2026-12-03 10:55 ` sashiko-bot
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: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: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:59 ` sashiko-bot [this message]
2026-12-03 10:36 ` [PATCH v4 07/10] drm/msm: mdss: Add support for MDSS " Nabige Aala
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: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 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 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-247631@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox