[PATCH v6 3/7] drm/display: Add soft depend for aux-hpd-typec-dp-bridge module
Sebastian Reichel
sebastian.reichel at collabora.com
Thu Aug 6 11:01:13 PDT 2026
Hi,
On Tue, Aug 04, 2026 at 03:07:26PM +0800, Chaoyi Chen wrote:
> From: Chaoyi Chen <chaoyi.chen at rock-chips.com>
>
> The aux-hpd-typec-dp-bridge module serves as a generic TypeC
> DisplayPort HPD bridge and is not required by any other
> module. Therefore, it will not be auto-loaded.
>
> Given that the drm_display_helper module houses DisplayPort-related
> helper code, add a MODULE_SOFTDEP() within it to suggest loading the
> aux-hpd-typec-dp-bridge module beforehand.
>
> Suggested-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> Signed-off-by: Chaoyi Chen <chaoyi.chen at rock-chips.com>
> ---
Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel at collabora.com>
Booting defconfig without manual HPD bridge registration works now :)
Greetings,
-- Sebastian
>
> (no changes since v6)
>
> ---
> drivers/gpu/drm/display/drm_display_helper_mod.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/display/drm_display_helper_mod.c b/drivers/gpu/drm/display/drm_display_helper_mod.c
> index d8a6e6228773..f0152d6b0b2d 100644
> --- a/drivers/gpu/drm/display/drm_display_helper_mod.c
> +++ b/drivers/gpu/drm/display/drm_display_helper_mod.c
> @@ -18,5 +18,6 @@ static void __exit drm_display_helper_module_exit(void)
> drm_dp_aux_dev_exit();
> }
>
> +MODULE_SOFTDEP("pre: aux-hpd-typec-dp-bridge");
> module_init(drm_display_helper_module_init);
> module_exit(drm_display_helper_module_exit);
> --
> 2.53.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260806/e291479b/attachment.sig>
More information about the linux-arm-kernel
mailing list