[PATCH 1/1] drm/bridge: Pass down connector to drm bridge detect hook
Maxime Ripard
mripard at kernel.org
Fri Mar 21 02:48:04 PDT 2025
On Fri, Mar 21, 2025 at 04:53:38PM +0800, Andy Yan wrote:
> From: Andy Yan <andy.yan at rock-chips.com>
>
> In some application scenarios, we hope to get the corresponding
> connector when the bridge's detect hook is invoked.
>
> In most cases, we can get the connector by drm_atomic_get_connector_for_encoder
> if the encoder attached to the bridge is enabled, however there will
> still be some scenarios where the detect hook of the bridge is called
> but the corresponding encoder has not been enabled yet. For instance,
> this occurs when the device is hot plug in for the first time.
>
> Since the call to bridge's detect is initiated by the connector, passing
> down the corresponding connector directly will make things simpler.
>
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
FTR, I'm against it and would have appreciated that you wait for a
meaningful closure to the discussion we've had on this.
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20250321/df2f2528/attachment.sig>
More information about the Linux-mediatek
mailing list