From: sashiko-bot@kernel.org
To: "Luo Liu" <Luo.Liu@cixtech.com>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/komeda: Use the bridge connector
Date: Tue, 24 Nov 2026 07:18:57 +0000 [thread overview]
Message-ID: <sashiko-outbox-230627@kernel.org> (raw)
In-Reply-To: <20261124065446.3107248-2-Luo.Liu@cixtech.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/komeda: broken HDMI mode and infoframes with tda998x in
komeda_attach_bridge()
--
commit 293b61d44e25857ad3d8e0efc9c67e615c5a4933
Author: Luo Liu <Luo.Liu@cixtech.com>
drm/komeda: Use the bridge connector
This commit attaches komeda's downstream bridge with
DRM_BRIDGE_ATTACH_NO_CONNECTOR and initializes a bridge connector using
drm_bridge_connector_init().
> diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
> index 0fd069fc3386d..3d5f06e085fac 100644
> --- a/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
> +++ b/drivers/gpu/drm/arm/display/komeda/komeda_crtc.c
[ ... ]
> @@ -626,12 +628,22 @@ static int komeda_attach_bridge(struct device *dev,
> return dev_err_probe(dev, PTR_ERR(bridge), "remote bridge not found for pipe: %s\n",
> of_node_full_name(pipe->of_node));
>
> - err = drm_bridge_attach(encoder, bridge, NULL, 0);
> - if (err)
> + err = drm_bridge_attach(encoder, bridge, NULL,
> + DRM_BRIDGE_ATTACH_NO_CONNECTOR);
[Severity: Medium]
Does passing DRM_BRIDGE_ATTACH_NO_CONNECTOR break HDMI output, infoframes
and audio with the nxp,tda998x bridge used on Arm Morello SDP
(arch/arm64/boot/dts/arm/morello-sdp.dts)?
When attached with DRM_BRIDGE_ATTACH_NO_CONNECTOR, tda998x_bridge_attach()
skips tda998x_connector_init() and leaves priv->connector zeroed, while
drm_edid_connector_update() populates display_info on the newly created
drm_bridge_connector instead. However, tda998x_bridge_mode_set() still
reads display_info from its internal priv->connector:
drivers/gpu/drm/bridge/tda998x_drv.c:tda998x_bridge_mode_set() {
...
priv->supports_infoframes = priv->connector.display_info.cea_rev >= 3;
...
}
Because priv->connector.display_info.cea_rev remains 0,
priv->supports_infoframes is always false, forcing the transmitter into DVI
mode and disabling AVI/VSI infoframes and HDMI audio.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124065446.3107248-1-Luo.Liu@cixtech.com?part=1
next prev parent reply other threads:[~2026-11-24 7:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 6:54 [PATCH 0/2] drm/komeda: Use the bridge connector Luo Liu
2026-11-24 6:54 ` [PATCH 1/2] " Luo Liu
2026-11-24 7:18 ` sashiko-bot [this message]
2026-11-24 6:54 ` [PATCH 2/2] drm/komeda: Use drmm_mode_config_init() Luo Liu
2026-11-24 7:03 ` 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-230627@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Luo.Liu@cixtech.com \
--cc=dri-devel@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.