Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/3] arm64: dts: qcom: msm8916: Disable disconnected DSI
Date: Tue, 10 Nov 2026 13:12:22 +0000	[thread overview]
Message-ID: <sashiko-outbox-207102@kernel.org> (raw)
In-Reply-To: <20261110-display-msm-of-graph-v1-1-0f3106f817b4@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: msm8916: broken display and probe crash on
  apq8016 boards
--

commit 84868fbeac14d1ada5236c28cee63ebec6ea8fbd
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

arm64: dts: qcom: msm8916: Disable disconnected DSI

This commit disables mdss_dsi0 and mdss_dsi0_phy by default in msm8916.dtsi
and enables them in four Samsung board DTS files that define a DSI panel.

> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index e39743e220438..7d351cd15f901 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -1634,6 +1634,8 @@ mdss_dsi0: dsi@1a98000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  
> +				status = "disabled";
> +
>  				ports {
>  					#address-cells = <1>;
>  					#size-cells = <0>;
> @@ -1668,6 +1670,8 @@ mdss_dsi0_phy: phy@1a98300 {
>  				clocks = <&gcc GCC_MDSS_AHB_CLK>,
>  					 <&xo_board>;
>  				clock-names = "iface", "ref";
> +
> +				status = "disabled";
>  			};
>  		};

[Severity: High]
Does disabling mdss_dsi0 and mdss_dsi0_phy here break display and audio on
apq8016-sbc.dts and apq8016-schneider-hmibsc.dts, and cause a NULL pointer
dereference during boot on apq8016-schneider-hmibsc.dts?

Both APQ8016 boards enable &mdss and connect &mdss_dsi0_out to an I2C
ADV7533 DSI-to-HDMI bridge (remote-endpoint = <&adv7533_in>) instead of a
child panel node, without setting status = "okay" on &mdss_dsi0 or
&mdss_dsi0_phy.  With mdss_dsi0 disabled, adv7533_parse_dt() fails with
-ENODEV because of_graph_get_remote_node() sees an unavailable remote parent,
which also prevents the &sound card referencing &adv_bridge from probing.

In addition, on apq8016-schneider-hmibsc.dts where &mdss is enabled and &gpu
remains disabled, add_mdp_components() skips the disabled mdss_dsi0 node and
leaves match as NULL.  mdp5_dev_probe() -> msm_drv_probe() then passes
match = NULL to component_master_add_with_match(), which dereferences
match->num.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-display-msm-of-graph-v1-0-0f3106f817b4@oss.qualcomm.com?part=1

  reply	other threads:[~2026-11-10 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 12:57 [PATCH 0/3] arm: qcom: display/msm: Require DSI graph endpoint Krzysztof Kozlowski
2026-11-10 12:57 ` [PATCH 1/3] arm64: dts: qcom: msm8916: Disable disconnected DSI Krzysztof Kozlowski
2026-11-10 13:12   ` sashiko-bot [this message]
2026-11-10 13:18   ` Krzysztof Kozlowski
2026-11-10 12:57 ` [PATCH 2/3] arm64: dts: qcom: msm8996-oneplus: " Krzysztof Kozlowski
2026-11-11 18:08   ` Dmitry Baryshkov
2026-11-10 12:57 ` [PATCH 3/3] dt-bindings: display/msm: Require DSI graph endpoint Krzysztof Kozlowski
2026-11-11 17:27   ` Rob Herring (Arm)
2026-11-11 18:12   ` Dmitry Baryshkov

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-207102@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --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