From: sashiko-bot@kernel.org
To: "Jayant Shekhar" <jayant.shekhar@oss.qualcomm.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org
Subject: Re: [PATCH v3 21/21] arm64: dts: qcom: hawi: Add DCP support
Date: Thu, 26 Nov 2026 07:10:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-234934@kernel.org> (raw)
In-Reply-To: <20261126-jshekhar-v3-dcp-v3-21-f1e9d7505039@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 5 potential
issues to consider:
- [High] arm64: dts: qcom: hawi: dcp virtio node placed under root
instead of soc@0
- [Medium] arm64: dts: qcom: hawi: dcp left enabled in dtsi with
unconnected endpoint
- [Low] arm64: dts: qcom: hawi: sde_disp0_vdd_active violates
qcom,pmic-gpio schema
- [Low] arm64: dts: qcom: hawi: duplicate tlmm block and unsorted nodes
in hawi-mtp
- [Low] arm64: dts: qcom: hawi: raw integer 13 used instead of
IPCC_MPROC_DCP macro
--
commit 93016695cd15832073fccedfcdc7a71d20169a8f
Author: Jayant Shekhar <jayant.shekhar@oss.qualcomm.com>
arm64: dts: qcom: hawi: Add DCP support
This commit describes the Qualcomm DCP VirtIO transport, display
subsystem, IPCC channel, IOMMU configuration, and DSI display graph in
hawi.dtsi, and wires up the DSI0 display panel and pin configuration on
Hawi MTP.
> diff --git a/arch/arm64/boot/dts/qcom/hawi-mtp.dts b/arch/arm64/boot/dts/qcom/hawi-mtp.dts
> index c38e5fab7a2cb..50484d006db6b 100644
> --- a/arch/arm64/boot/dts/qcom/hawi-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/hawi-mtp.dts
[ ... ]
> @@ -995,3 +1007,99 @@ &usb_dp_qmpphy {
> &usb_dp_qmpphy_out {
> remote-endpoint = <&pmic_glink_ss_in>;
> };
> +
> +&dcp_dsi0 {
[ ... ]
> +&pmd8028_e1_gpios {
> + sde_disp0_vdd_active: sde_disp0_vdd_active {
> + pins = "gpio2";
> + function = "normal";
> + input-disable;
> + output-enable;
> + bias-disable;
> + power-source = <2>;
> + qcom,drive-strength = <2>;
> + };
> +};
[Severity: Low]
Should this child node be named sde-disp0-vdd-active-state?
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml requires
pin configuration child node names to end with "-state" and sets
additionalProperties: false, so sde_disp0_vdd_active fails dtbs_check.
> +
> +&pmh0110_d_e0_gpios {
[ ... ]
> +};
> +
> +&tlmm {
> + sde_te_active: sde-te-active-state {
> + pins = "gpio86";
> + function = "mdp_vsync";
> + drive-strength = <2>;
> + bias-pull-down;
> + };
> +
> + sde_esync0_suspend: sde-esync0-suspend-state {
> + pins = "gpio88";
> + function = "mdp_esync0";
> + drive-strength = <2>;
> + bias-pull-down;
> + };
> +
> +};
[Severity: Low]
This isn't a bug, but hawi-mtp.dts already defines a &tlmm block earlier
in the file and keeps &label overrides sorted alphabetically. Should
these pin states be merged into the existing &tlmm node and the new
&dcp_dsi0, &dcp_intf1_out, &pmd8028_e1_gpios, &pmh0110_d_e0_gpios, and
&pmh0110_f_e0_gpios blocks (as well as regulator-display-panel-vdd under
/) be placed in alphabetical order?
> diff --git a/arch/arm64/boot/dts/qcom/hawi.dtsi b/arch/arm64/boot/dts/qcom/hawi.dtsi
> index 77d704fa6cf74..9d22243b97d77 100644
> --- a/arch/arm64/boot/dts/qcom/hawi.dtsi
> +++ b/arch/arm64/boot/dts/qcom/hawi.dtsi
> @@ -6854,4 +6854,49 @@ timer {
> <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
> <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
> };
> +
> + dcp: virtio@9be8000 {
> + compatible = "qcom,dcp-virtio";
> + reg = <0x0 0x09be8000 0x0 0x1000>;
[Severity: High]
Should virtio@9be8000 be placed inside /soc@0 (sorted by unit address)
rather than directly under the root node after timer?
All MMIO peripherals in hawi.dtsi live under /soc@0, which defines the
SoC ranges and 36-bit dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>. Because
the root node has no ranges or dma-ranges, placing virtio@9be8000 under /
fails root-node dtbs_check validation and causes of_dma_configure_id()
(including the call in dcp_subsystem_dev_init() for display-subsystem) to
fail to inherit the SoC 36-bit DMA range, leaving dev->dma_range_map
unset and clamping display-subsystem to a 32-bit coherent DMA mask.
> + interrupts-extended = <&intc GIC_ESPI 956 IRQ_TYPE_LEVEL_HIGH>,
> + <&ipcc 13 5 IRQ_TYPE_EDGE_RISING>;
> + iommus = <&apps_smmu 0x15a3 0x0>;
> + iommu-ranges = <0x0 0x84000000 0x0 0x04000000>;
> + dma-coherent;
> + mboxes = <&ipcc 13 5>;
[Severity: Low]
This isn't a bug, but hawi.dtsi includes hawi-ipcc.h, which defines
IPCC_MPROC_DCP for client 13. Could interrupts-extended and mboxes use
IPCC_MPROC_DCP instead of the raw literal 13 to match the other IPCC
consumers in this file?
> + mbox-names = "dcp-power-tx";
> +
> + display-subsystem {
> + compatible = "virtio,device34";
> +
> + iommus = <&apps_smmu 0x400 0x2>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@1 {
> + reg = <1>;
> + dcp_intf1_out: endpoint {
> + };
> + };
> +
> + };
[Severity: Medium]
Should dcp have status = "disabled"; in hawi.dtsi and be enabled via &dcp
in hawi-mtp.dts, as described in the commit message?
Leaving dcp enabled in hawi.dtsi with an empty dcp_intf1_out endpoint
violates Documentation/devicetree/bindings/display/msm/qcom,dcp.yaml
(which requires remote-endpoint on every port endpoint) on any Hawi board
that does not connect a DSI0 panel. At runtime on such boards,
dcp_virtio_transport_probe() still wakes DCP firmware and
dcp_dpu_kms_init_dsi_bridges() sees the empty port@1 endpoint and adds
dsi@0 to the DRM component match list, which can never bind without an
attached panel calling dcp_dsi_host_attach().
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-jshekhar-v3-dcp-v3-0-f1e9d7505039@oss.qualcomm.com?part=21
prev parent reply other threads:[~2026-11-26 7:10 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 6:29 [PATCH v3 00/21] drm/msm/dcp: Add Qualcomm DCP display support Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 01/21] dt-bindings: display: msm: Add Qualcomm DCP Jayant Shekhar
2026-11-26 6:44 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 02/21] drm/msm/dcp: Add HFI packet helpers Jayant Shekhar
2026-11-26 6:52 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 03/21] drm/msm/dcp: Add HFI device definitions Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 04/21] drm/msm/dcp: Add HFI display definitions Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 05/21] drm/msm/dcp: Add HFI panel definitions Jayant Shekhar
2026-11-26 6:40 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 06/21] drm/msm/dcp: Add HFI VirtIO transport Jayant Shekhar
2026-11-26 6:51 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 07/21] drm/msm/dcp: Handle asynchronous HFI responses Jayant Shekhar
2026-11-26 6:49 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 08/21] drm/msm/dcp: Add generic HFI display commands Jayant Shekhar
2026-11-26 6:45 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 09/21] drm/msm/dcp: Add HFI DSI and panel commands Jayant Shekhar
2026-11-26 6:54 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 10/21] drm/msm/dcp: Add DCP CRTCs Jayant Shekhar
2026-11-26 6:58 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 11/21] drm/msm/dcp: Add DCP planes Jayant Shekhar
2026-11-26 7:02 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 12/21] drm/msm/dcp: Route HFI display events Jayant Shekhar
2026-11-26 6:50 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 13/21] drm/msm/dcp: Add DCP encoder Jayant Shekhar
2026-11-26 6:42 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 14/21] drm/msm/dcp: Add DCP DSI host and panel support Jayant Shekhar
2026-11-26 7:06 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 15/21] drm/msm/dcp: Integrate the DSI bridge with KMS Jayant Shekhar
2026-11-26 6:53 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 16/21] drm/msm/dcp: Register DCP display pipeline Jayant Shekhar
2026-11-26 7:03 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 17/21] drm/msm: Export GPU component matching helper Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 18/21] drm/msm/dcp: Add DCP VirtIO driver Jayant Shekhar
2026-11-26 7:07 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 19/21] drm/msm: Support KMS backends without a display IRQ Jayant Shekhar
2026-11-26 6:29 ` [PATCH v3 20/21] drm/msm: Register the DCP backend Jayant Shekhar
2026-11-26 7:00 ` sashiko-bot
2026-11-26 6:29 ` [PATCH v3 21/21] arm64: dts: qcom: hawi: Add DCP support Jayant Shekhar
2026-11-26 7:10 ` sashiko-bot [this message]
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-234934@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jayant.shekhar@oss.qualcomm.com \
--cc=media-ci@linuxtv.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