From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Sasha Levin" <sashal@kernel.org>, <stable@vger.kernel.org>
Cc: "Andy Yan" <andy.yan@rock-chips.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Heiko Stübner" <heiko@sntech.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Simona Vetter" <simona@ffwll.ch>,
dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org,
"Sandy Huang" <hjc@rock-chips.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Samuel Holland" <samuel@sholland.org>,
"Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>,
"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 6.18] Revert "drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()"
Date: Wed, 02 Dec 2026 21:48:10 +0100 [thread overview]
Message-ID: <DNAJJ36A1DGA.1NG018837Z919@bootlin.com> (raw)
In-Reply-To: <2026-12-01-1-daily-reply-0008@kernel.org>
Hello Sasha, Samuel,
On Wed Dec 2, 2026 at 2:48 PM CET, Sasha Levin wrote:
>> As a result, in v6.18.65, the connector is never
>> attached and HDMI output on RK3588 is broken.
>
> Queued for 6.18, thanks.
I hadn't seen this earlier, sorry about that. Thanks for reporting and
taking action.
However I'm not sure reverting this commit is the right thing to do. Here's
why, and the alternative I'd consider.
First, I wondered why this commit has been added to stable in the first
place, being not a fix. Because it is a dependency for applying a following
fix, I guess (0259bf47f8f78297777c12f10e11c869fef51616 apparently)?
The reverted commit comes from a series of 41 patches [0] where:
* patch 1 adds a call to drm_connector_attach_encoder() in common code,
to avoid the need to call it from 40 different drivers
* patches 2-41 remove the same call from those 40 drivers, one by one;
the reverted patch is one of them (patch 30)
So this means there are 39 other patches doing the same oneliner change,
potentially needing to be reverted as well, in case their drivers have
similarly conflicting fixes.
So an alternative option would be instead taking patch 1, aka commit
dcad6dd16e87 ("drm/display: bridge-connector: attach the encoder to the
created connector"), so that any of patches 2-41 won't regress, if applied
to sable branches.
In other words: all of patches 2-41 do depend on patch 1, even thoug they
apply cleanly without. So when taking any of them, I think patch 1 should
be taken as well.
I'm available for any further clarifications that might be needed.
[0] https://lore.kernel.org/lkml/20260423-drm-bridge-connector-attach_encoder-v2-0-2ae6ca69b390@bootlin.com/
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Sasha Levin" <sashal@kernel.org>, <stable@vger.kernel.org>
Cc: "Andy Yan" <andy.yan@rock-chips.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Heiko Stübner" <heiko@sntech.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Simona Vetter" <simona@ffwll.ch>,
dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org,
"Sandy Huang" <hjc@rock-chips.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Samuel Holland" <samuel@sholland.org>,
"Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>,
"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 6.18] Revert "drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()"
Date: Wed, 02 Dec 2026 21:48:10 +0100 [thread overview]
Message-ID: <DNAJJ36A1DGA.1NG018837Z919@bootlin.com> (raw)
In-Reply-To: <2026-12-01-1-daily-reply-0008@kernel.org>
Hello Sasha, Samuel,
On Wed Dec 2, 2026 at 2:48 PM CET, Sasha Levin wrote:
>> As a result, in v6.18.65, the connector is never
>> attached and HDMI output on RK3588 is broken.
>
> Queued for 6.18, thanks.
I hadn't seen this earlier, sorry about that. Thanks for reporting and
taking action.
However I'm not sure reverting this commit is the right thing to do. Here's
why, and the alternative I'd consider.
First, I wondered why this commit has been added to stable in the first
place, being not a fix. Because it is a dependency for applying a following
fix, I guess (0259bf47f8f78297777c12f10e11c869fef51616 apparently)?
The reverted commit comes from a series of 41 patches [0] where:
* patch 1 adds a call to drm_connector_attach_encoder() in common code,
to avoid the need to call it from 40 different drivers
* patches 2-41 remove the same call from those 40 drivers, one by one;
the reverted patch is one of them (patch 30)
So this means there are 39 other patches doing the same oneliner change,
potentially needing to be reverted as well, in case their drivers have
similarly conflicting fixes.
So an alternative option would be instead taking patch 1, aka commit
dcad6dd16e87 ("drm/display: bridge-connector: attach the encoder to the
created connector"), so that any of patches 2-41 won't regress, if applied
to sable branches.
In other words: all of patches 2-41 do depend on patch 1, even thoug they
apply cleanly without. So when taking any of them, I think patch 1 should
be taken as well.
I'm available for any further clarifications that might be needed.
[0] https://lore.kernel.org/lkml/20260423-drm-bridge-connector-attach_encoder-v2-0-2ae6ca69b390@bootlin.com/
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-12-02 20:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 23:19 [PATCH 6.18] Revert "drm/rockchip: dw_hdmi_qp: remove now-redundant call to drm_connector_attach_encoder()" Samuel Holland
2026-11-29 23:19 ` Samuel Holland
2026-12-02 13:48 ` Sasha Levin
2026-12-02 13:48 ` Sasha Levin
2026-12-02 20:48 ` Luca Ceresoli [this message]
2026-12-02 20:48 ` Luca Ceresoli
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=DNAJJ36A1DGA.1NG018837Z919@bootlin.com \
--to=luca.ceresoli@bootlin.com \
--cc=airlied@gmail.com \
--cc=andy.yan@rock-chips.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=samuel@sholland.org \
--cc=sashal@kernel.org \
--cc=simona@ffwll.ch \
--cc=stable@vger.kernel.org \
--cc=tzimmermann@suse.de \
/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.