From: sashiko-bot@kernel.org
To: "Michal Wilczynski" <m.wilczynski@samsung.com>
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v9 07/16] drm/bridge: inno-hdmi: Add .disable platform operation
Date: Wed, 02 Dec 2026 16:36:33 +0000 [thread overview]
Message-ID: <sashiko-outbox-246230@kernel.org> (raw)
In-Reply-To: <20261202-jh7110-clean-send-v9-7-6e546abf0ee8@samsung.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/bridge: inno-hdmi: LIFO teardown inversion in
atomic_disable()
--
commit fa1076c5905c14ed22ffc675387f7daefd68b005
Author: Michal Wilczynski <m.wilczynski@samsung.com>
drm/bridge: inno-hdmi: Add .disable platform operation
This commit adds a .disable callback to struct inno_hdmi_plat_ops and
invokes it in inno_hdmi_bridge_atomic_disable() for platform-specific
power-down sequences.
> diff --git a/drivers/gpu/drm/bridge/inno-hdmi.c b/drivers/gpu/drm/bridge/inno-hdmi.c
> index b1087f3e86a6a..556edb5282a78 100644
> --- a/drivers/gpu/drm/bridge/inno-hdmi.c
> +++ b/drivers/gpu/drm/bridge/inno-hdmi.c
> @@ -881,6 +881,10 @@ static void inno_hdmi_bridge_atomic_disable(struct drm_bridge *bridge,
> struct drm_atomic_commit *state)
> {
> struct inno_hdmi *hdmi = bridge_to_inno_hdmi(bridge);
> + const struct inno_hdmi_plat_ops *plat_ops = hdmi->plat_data->ops;
> +
> + if (plat_ops && plat_ops->disable)
> + plat_ops->disable(hdmi->dev);
>
> inno_hdmi_standby(hdmi);
> }
[Severity: Medium]
Should inno_hdmi_standby(hdmi) run before plat_ops->disable(hdmi->dev)?
On the enable path, inno_hdmi_setup() runs plat_ops->enable() in
inno_hdmi_config_video_timing() before powering on the controller via
inno_hdmi_power_up() -> inno_hdmi_sys_power(hdmi, true). Calling
plat_ops->disable() first powers off the PHY and gates the pixel/TMDS
clock while the controller is still active, and inno_hdmi_standby() then
writes to HDMI_SYS_CTRL and the internal PHY registers after their TMDS
clock source has been turned off.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-jh7110-clean-send-v9-0-6e546abf0ee8@samsung.com?part=7
next prev parent reply other threads:[~2026-12-02 16:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261202162810eucas1p23142a6a51bbc7676667bdc7641d47d59@eucas1p2.samsung.com>
2026-12-02 16:27 ` [PATCH v9 00/16] drm: starfive: jh7110: Enable display subsystem Michal Wilczynski
2026-12-02 16:27 ` [PATCH v9 01/16] dt-bindings: display: bridge: Add starfive,jh7110-inno-hdmi-controller Michal Wilczynski
2026-12-02 16:34 ` sashiko-bot
2026-12-02 16:28 ` [PATCH v9 02/16] dt-bindings: display: starfive: Add starfive,jh7110-hdmi-subsystem Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 03/16] dt-bindings: soc: starfive: Add starfive,jh7110-vout-syscon Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 04/16] dt-bindings: display: starfive: Add starfive,jh7110-vout-subsystem Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 05/16] drm/bridge: inno-hdmi: Split probe out of bind Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 06/16] drm/bridge: inno-hdmi: Use a regmap for register access Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 07/16] drm/bridge: inno-hdmi: Add .disable platform operation Michal Wilczynski
2026-12-02 16:36 ` sashiko-bot [this message]
2026-12-02 16:28 ` [PATCH v9 08/16] drm/bridge: inno-hdmi: Add .mode_valid " Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 09/16] drm/bridge: inno-hdmi: Make the PHY configuration table optional Michal Wilczynski
2026-12-02 16:39 ` sashiko-bot
2026-12-02 16:28 ` [PATCH v9 10/16] drm/bridge: inno-hdmi: Make the register clock source selectable Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 11/16] drm/bridge: inno-hdmi: Make the supported HDMI version selectable Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 12/16] soc: starfive: Add jh7110-hdmi-subsystem driver Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 13/16] soc: starfive: Add jh7110-vout-subsystem driver Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 14/16] drm/bridge: starfive: Add JH7110 HDMI controller driver Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 15/16] riscv: dts: starfive: jh7110: Update DT for display subsystem Michal Wilczynski
2026-12-02 16:28 ` [PATCH v9 16/16] MAINTAINERS: Add StarFive JH7110 display subsystem entry Michal Wilczynski
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-246230@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=m.wilczynski@samsung.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