mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sebastian Reichel <sebastian.reichel@collabora.com>
To: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Cc: "Andrzej Hajda" <andrzej.hajda@intel.com>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Robert Foss" <rfoss@kernel.org>,
	"Laurent Pinchart" <Laurent.pinchart@ideasonboard.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Jernej Skrabec" <jernej.skrabec@gmail.com>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Sandy Huang" <hjc@rock-chips.com>,
	"Heiko Stübner" <heiko@sntech.de>,
	"Andy Yan" <andy.yan@rock-chips.com>,
	"Vinod Koul" <vkoul@kernel.org>,
	"Nicolas Frattaroli" <nicolas.frattaroli@collabora.com>,
	"Heikki Krogerus" <heikki.krogerus@linux.intel.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	linux-phy@lists.infradead.org
Subject: Re: [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB
Date: Tue, 28 Jul 2026 12:44:23 +0200	[thread overview]
Message-ID: <amh1sK_4KnD5zTlZ@venus> (raw)
In-Reply-To: <e22072d9-7fee-4f83-9ae9-5428e45c7507@rock-chips.com>

[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]

Hello Chaoyi,

On Tue, Jul 28, 2026 at 10:33:48AM +0800, Chaoyi Chen wrote:
> >> Changes in v4:
> >> - Link to v3: https://lore.kernel.org/all/20260717072323.96-1-kernel@airkyi.com/
> >> - Scan the entire typec_bus and attempt to register the hpd bridge,
> >>   so as not to miss devices that were already added during initialization.
> > 
> > While that may help with the module being loaded late, it does not
> > help with triggering the module load in the first place.
> > 
> > The module does not have any MODULE_DEVICE_TABLE() helping with
> > that. So basically any system relying on the automatic hpd bridge
> > registration and using a modular kernel (e.g. the arm64 defconfig or
> > the kernels usually provided by Linux distributions) requires
> > manually loading that module to get any graphical output.
> >
> 
> Thank you for pointing this out. I will add it in v5.

Add what exactly? As this code is quite generic, you don't have
anything for a MODULE_DEVICE_TABLE() (i.e. no OF, no I2C, ...).

One solution I see to keep the notifier design would be to add

MODULE_SOFTDEP("pre: aux-hpd-typec-dp-bridge")

to some other module and piggy-back on it. Alternatively integrate
it directly to some other module, such as "drm_display_helper",
which already has DRM_DISPLAY_DP_HELPER and DRM_DISPLAY_DP_TUNNEL.
Adding TypeC DP AltMode as part of it seems sensible to me.

FWIW I suggest you test booting your patches work with the arm64
defconfig before your next submission ;)

Greetings,

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2026-07-28 10:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27  6:44 Chaoyi Chen
2026-07-27  6:44 ` [PATCH v4 1/5] drm/bridge: Implement generic USB Type-C DP HPD bridge Chaoyi Chen
2026-07-27  6:44 ` [PATCH v4 2/5] drm/bridge: aux: Add drm_aux_bridge_register_from_node() Chaoyi Chen
2026-07-27  6:44 ` [PATCH v4 3/5] phy: rockchip: phy-rockchip-typec: Add DRM AUX bridge Chaoyi Chen
2026-07-27  6:44 ` [PATCH v4 4/5] drm/rockchip: cdn-dp: Support handle lane info without extcon Chaoyi Chen
2026-07-27  6:44 ` [PATCH v4 5/5] drm/rockchip: cdn-dp: Add multiple bridges to support PHY port selection Chaoyi Chen
2026-07-28  2:08 ` [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB Sebastian Reichel
2026-07-28  2:33   ` Chaoyi Chen
2026-07-28 10:44     ` Sebastian Reichel [this message]
2026-07-29  1:34       ` Chaoyi Chen

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=amh1sK_4KnD5zTlZ@venus \
    --to=sebastian.reichel@collabora.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=andy.yan@rock-chips.com \
    --cc=chaoyi.chen@rock-chips.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=heiko@sntech.de \
    --cc=hjc@rock-chips.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=nicolas.frattaroli@collabora.com \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=vkoul@kernel.org \
    /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

all inboxes | Powered by JetHome®