dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Qianhui Xu" <xiaqinghuan@mail.ustc.edu.cn>,
	dri-devel@lists.freedesktop.org
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 3/3] arm64: dts: qcom: sm8750: describe the second MDSS block reset
Date: Wed, 02 Dec 2026 09:15:10 +0000	[thread overview]
Message-ID: <sashiko-outbox-245259@kernel.org> (raw)
In-Reply-To: <20261202090933.3989092-4-xiaqinghuan@mail.ustc.edu.cn>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: sm8750: unattached INT2 domain reset on
  mdss
--

commit e0caa1c51535fff8fee3740ec6b317a62be81c40
Author: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>

arm64: dts: qcom: sm8750: describe the second MDSS block reset

This commit adds DISP_CC_MDSS_CORE_INT2_BCR as a second reset entry on the
SM8750 mdss node.

> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
> index cf947acc57602..0f3e649787315 100644
> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
> @@ -3359,7 +3359,8 @@ mdss: display-subsystem@ae00000 {
>  				 <&gcc GCC_DISP_HF_AXI_CLK>,
>  				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
>  
> -			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
> +			resets = <&dispcc DISP_CC_MDSS_CORE_BCR>,
> +				 <&dispcc DISP_CC_MDSS_CORE_INT2_BCR>;

[Severity: Medium]
Should the mdss node assert DISP_CC_MDSS_CORE_INT2_BCR when neither mdss
nor mdss_mdp attaches MDSS_INT2_GDSC or any of the secondary *1_clk
branches?

In drivers/clk/qcom/dispcc-sm8750.c, DISP_CC_MDSS_CORE_INT2_BCR at 0xa000
is the block reset for the secondary 0xa000..0xb000 MDSS_CORE_INT2 clock
and power domain (governed by MDSS_INT2_GDSC at 0xb000 and
disp_cc_mdss_mdp1_clk, disp_cc_mdss_mdp_lut1_clk, disp_cc_mdss_vsync1_clk,
and disp_cc_mdss_ahb1_clk), while mdss only attaches MDSS_GDSC and the
primary 0x8000..0x9000 clocks.  During mdss_probe() -> msm_mdss_init() ->
msm_mdss_reset(), this asserts and deasserts the reset of a separate,
unattached power and clock domain.

In addition, commit "dt-bindings: display: msm: mdss-common: describe
additional block resets" in this series documents the second reset entry in
Documentation/devicetree/bindings/display/msm/mdss-common.yaml as "MDSS
core INT2 interrupt controller reset", which contradicts the domain
description in this commit message.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202090933.3989092-1-xiaqinghuan@mail.ustc.edu.cn?part=3

      reply	other threads:[~2026-12-02  9:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  9:09 [PATCH v6 0/3] drm/msm/mdss: reset all block resets described in DT Qianhui Xu
2026-12-02  9:09 ` [PATCH v6 1/3] dt-bindings: display: msm: mdss-common: describe additional block resets Qianhui Xu
2026-12-02  9:22   ` sashiko-bot
2026-12-02  9:09 ` [PATCH v6 2/3] drm/msm/mdss: reset all block resets described in DT Qianhui Xu
2026-12-02  9:09 ` [PATCH v6 3/3] arm64: dts: qcom: sm8750: describe the second MDSS block reset Qianhui Xu
2026-12-02  9:15   ` 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-245259@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=xiaqinghuan@mail.ustc.edu.cn \
    /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