Re: [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB
Sebastian Reichel <[email protected]>
| Newsgroups | org.infradead.lists.linux-rockchip,org.freedesktop.lists.dri-devel,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-phy,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <amh1sK_4KnD5zTlZ@venus> |
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/[email protected]/ > >> - 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 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmpoh/wACgkQ2O7X88g7 +po6mg//Ul+tqXSZBMWv39myTySZkpRAFl7a7wi9guXnO1l8taMD1Dut/6OI7XSh 9YwrPNaNV91Ky5SlMl/Yj3/pjT/FIk10Ltd3EREWrrWJoPlZMVOVM1Rv3Rg4mzgg jZ7IowUe3zwG9xnITCsQ/bZ2dQkmHrnGnUoUNkcuws1QZqbUzMke/eTG7mHVeS0x sWTMLSyLvXQPKnDVF7/Iu7wuKUs8Ia5N6BgLqLoXIuBogrpy960yu1zyNCKNkQaH i6PxgcYmfo8+J9+tSxnYwCZBATn1PUDUPrDrthYSlr/eQyNKmVU6xHf4OTjRd2jG q4BAXrZRu1bzbYaqFbaeRJ/DSnPDnTiB2aWKT4OtMqvfDOC2aSBCxa86DaSp8ehl aPvi3CiBe+shpteIdY8dy4T7NUFSpJCN+ihGO5cjRuaIrHto3yyLIa4hpl8apeqn tyzvk60TmL0Sjnrq+K8DjuLgk5yM0Y7zb3iur+XYnzVvwifcBvqcbMWSiNzrMiau 2GyY3PP2h0B6ExG8edpIu7vqhSlmStw8HtLNOattN4PZvqdRDg/1JEFu0V6a5Cdt FDwKKKwht1Kshkl41y0eGBPN3i5ym7bIeoE5GreW/1dkV+7UQlXZj473tagywHuy P51/AQYyjVWv51g7bhF8ZWQszkCaov53iUKMyjlWpVYA3XSYmaw= =ZCR1 -----END PGP SIGNATURE-----