From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 885DEC531F9 for ; Tue, 28 Jul 2026 10:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OoPmoRm0+gXaOrdIiROMhWQpqx1p/QgalYMef5WvKHg=; b=Gp9mUucr3kUwTbgS883Zse7Saj IQp4eCMszTOj93xaPfGTzPrX0x5q4P6NL8PG6OrOm/WLlxVQYAbgKIdqX3UlXZGDzwx74d+2i3eP5 MJ3lO9FjVKWlCQslC/J/BpaJB0/8zFg0KeTEODFJJUSFKAXzVh9yIiANnEfbtZNHMBebJQAP/zgrv O9TL+7DUyx9EcrT76oYd6L1JWBpupA19uUwbaPbO6y8NGfThC1t/vprk2ghYuhyFUhX6qbf9MDE4K n9B1Qgp+0f94Zl4tOcLBBF+JsjSsRPqqWAhW1AWyDVzAH8uVf78ZQjAYaDHFb87p3TWPQfvs2lVqp Q19oIWlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ9-000000050Jo-0Eto; Tue, 28 Jul 2026 10:45:11 +0000 Received: from sender4-op-o11.zoho.com ([136.143.188.11]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ6-000000050Il-2wW5; Tue, 28 Jul 2026 10:45:10 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1785235472; cv=none; d=zohomail.com; s=zohoarc; b=TS0P/0Nn92hCK1UO819Km2MemRUN+2D33lo2frqf//bJxFnoJIr7T65oIx0zivNwVD1r5lraVuz1EoSw34DwqAG5d1qClgsDfKhat0jYsUEqdTMMGe1OwmGOyCInP+3Jz2LUDnuH/d/4/8EEiLKnhm3bU2ZYqCgdqjYgTnEpPHE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1785235472; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=IRXdtf59S7jGJhi8MXAh58hXoH8k/EH3GaQHA69kv0T6DNaI8cDTvrSfqduMO7QptuzQ5jcrKxfIkxxeLNrs4rZweTIo+Fi31iaXVoE8CSgfd+tFCSdDJjJRRXf+4/tYkggGyayV1WDcR+J09IUYcpeGoA62PXAgt6NSPXLlNsI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=sebastian.reichel@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1785235471; s=zohomail; d=collabora.com; i=sebastian.reichel@collabora.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=GGua9EmJpb0QbnYEztrILvP8aRP7TwU3zXt41VIPig6tUXnnHf9Y8hCXp5NS8CCa 5gDr3hllYE6vRrSsLBaP3kDAj+d+kwNwy/4TIQvWH8/TTPDzUbQ3aOmFaQgrxi4EHNI 98OWGiPzqBJaw8WYVhjwwMX9GAeUhBsYwVS1hUas= Received: by mx.zohomail.com with SMTPS id 1785235470064180.6244091784373; Tue, 28 Jul 2026 03:44:30 -0700 (PDT) Received: by venus (Postfix, from userid 1000) id E2EBA181F68; Tue, 28 Jul 2026 12:44:23 +0200 (CEST) Date: Tue, 28 Jul 2026 12:44:23 +0200 From: Sebastian Reichel To: Chaoyi Chen Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Andy Yan , Vinod Koul , Nicolas Frattaroli , Heikki Krogerus , 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 Message-ID: References: <20260727064408.101-1-kernel@airkyi.com> MIME-Version: 1.0 In-Reply-To: X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.2.10.1.5.2/285.228.97 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260728_034508_796045_E0135EF8 X-CRM114-Status: GOOD ( 20.99 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2001350005260274553==" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org --===============2001350005260274553== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nrz2q7rk3saejmon" Content-Disposition: inline --nrz2q7rk3saejmon Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB MIME-Version: 1.0 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@a= irkyi.com/ > >> - Scan the entire typec_bus and attempt to register the hpd bridge, > >> so as not to miss devices that were already added during initializat= ion. > >=20 > > While that may help with the module being loaded late, it does not > > help with triggering the module load in the first place. > >=20 > > 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. > > >=20 > 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 --nrz2q7rk3saejmon Content-Type: application/pgp-signature; name="signature.asc" -----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----- --nrz2q7rk3saejmon-- --===============2001350005260274553== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy --===============2001350005260274553==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A53C6C531F9 for ; Tue, 28 Jul 2026 10:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=jWjvRpVuCsWrpfC8TbbqjzksJF NigBx1l1sOf1qYe276N4Cr7oYIhMiBC9K5W8zSVvUbRyL2c9yDFbuZoF+83GmcP6kZYUry6ofVSad 2cqVhtTt76pmMdy6uHRdTKS2PMzEYRBvMKyDDKzw9WB5noi/FKP/lDoMWWdtSLWyNk6wkMXYiR4AE 6frPEdLXwYKhmR2Dx/Zj5obAzrrZ58s52tzWrhU26gxN1sHwF0lkms521tF4KvF6WHLd2A3c3ucRA 57+r8878xjP5nkCGbTbLT71CuRoF8Q0vMo/DSmf+PDOHa21jqtw0+BJfrbt+ZdN18rA0BLV0tiXwW J+/ZII2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ8-000000050JW-42UQ; Tue, 28 Jul 2026 10:45:10 +0000 Received: from sender4-op-o11.zoho.com ([136.143.188.11]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ6-000000050Il-2wW5; Tue, 28 Jul 2026 10:45:10 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1785235472; cv=none; d=zohomail.com; s=zohoarc; b=TS0P/0Nn92hCK1UO819Km2MemRUN+2D33lo2frqf//bJxFnoJIr7T65oIx0zivNwVD1r5lraVuz1EoSw34DwqAG5d1qClgsDfKhat0jYsUEqdTMMGe1OwmGOyCInP+3Jz2LUDnuH/d/4/8EEiLKnhm3bU2ZYqCgdqjYgTnEpPHE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1785235472; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=IRXdtf59S7jGJhi8MXAh58hXoH8k/EH3GaQHA69kv0T6DNaI8cDTvrSfqduMO7QptuzQ5jcrKxfIkxxeLNrs4rZweTIo+Fi31iaXVoE8CSgfd+tFCSdDJjJRRXf+4/tYkggGyayV1WDcR+J09IUYcpeGoA62PXAgt6NSPXLlNsI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=sebastian.reichel@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1785235471; s=zohomail; d=collabora.com; i=sebastian.reichel@collabora.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=GGua9EmJpb0QbnYEztrILvP8aRP7TwU3zXt41VIPig6tUXnnHf9Y8hCXp5NS8CCa 5gDr3hllYE6vRrSsLBaP3kDAj+d+kwNwy/4TIQvWH8/TTPDzUbQ3aOmFaQgrxi4EHNI 98OWGiPzqBJaw8WYVhjwwMX9GAeUhBsYwVS1hUas= Received: by mx.zohomail.com with SMTPS id 1785235470064180.6244091784373; Tue, 28 Jul 2026 03:44:30 -0700 (PDT) Received: by venus (Postfix, from userid 1000) id E2EBA181F68; Tue, 28 Jul 2026 12:44:23 +0200 (CEST) Date: Tue, 28 Jul 2026 12:44:23 +0200 From: Sebastian Reichel To: Chaoyi Chen Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Andy Yan , Vinod Koul , Nicolas Frattaroli , Heikki Krogerus , 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 Message-ID: References: <20260727064408.101-1-kernel@airkyi.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nrz2q7rk3saejmon" Content-Disposition: inline In-Reply-To: X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.2.10.1.5.2/285.228.97 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260728_034508_796045_E0135EF8 X-CRM114-Status: GOOD ( 20.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --nrz2q7rk3saejmon Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB MIME-Version: 1.0 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@a= irkyi.com/ > >> - Scan the entire typec_bus and attempt to register the hpd bridge, > >> so as not to miss devices that were already added during initializat= ion. > >=20 > > While that may help with the module being loaded late, it does not > > help with triggering the module load in the first place. > >=20 > > 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. > > >=20 > 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 --nrz2q7rk3saejmon Content-Type: application/pgp-signature; name="signature.asc" -----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----- --nrz2q7rk3saejmon-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE080C53219 for ; Tue, 28 Jul 2026 10:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JOeIZZehUQdImHeMDG30DGzYLE2+UNe8DIP30//SKCM=; b=TxfIi0pjoqvnzUAVLcNcQjWc1V Umqr68FhMHtydxJSqOtynvtwuhAyL+TV67tgNlAz/zALIeiBB0XTZbI68E3SZ1ZE/TzuXhuTGsc+8 B/OTfv2luHq/Ng1TI2QFYiliKQxJncxtVDJqzmZOFBsGyeeN6r74KGAyETfFQka21B1LBvm7nowgn NXtSEM+ORLXXIhuH2gFE5jICH20SDnFmpSGlcONPVc8sfBWCbkZO6/CivN9W58/0rtBLN93+xTLUj vEH+T/5rRqJOtILGbx2rDqwgmDALIZfP0afN6vmuFj9O2FwPF/NpkgqAFnAZk6Lu+U7KCO/SmApjV sZtGXA0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ9-000000050Js-0TD2; Tue, 28 Jul 2026 10:45:11 +0000 Received: from sender4-op-o11.zoho.com ([136.143.188.11]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wofJ6-000000050Il-2wW5; Tue, 28 Jul 2026 10:45:10 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1785235472; cv=none; d=zohomail.com; s=zohoarc; b=TS0P/0Nn92hCK1UO819Km2MemRUN+2D33lo2frqf//bJxFnoJIr7T65oIx0zivNwVD1r5lraVuz1EoSw34DwqAG5d1qClgsDfKhat0jYsUEqdTMMGe1OwmGOyCInP+3Jz2LUDnuH/d/4/8EEiLKnhm3bU2ZYqCgdqjYgTnEpPHE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1785235472; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=IRXdtf59S7jGJhi8MXAh58hXoH8k/EH3GaQHA69kv0T6DNaI8cDTvrSfqduMO7QptuzQ5jcrKxfIkxxeLNrs4rZweTIo+Fi31iaXVoE8CSgfd+tFCSdDJjJRRXf+4/tYkggGyayV1WDcR+J09IUYcpeGoA62PXAgt6NSPXLlNsI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=sebastian.reichel@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1785235471; s=zohomail; d=collabora.com; i=sebastian.reichel@collabora.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=J5NLQiylXqrWyBPL2yr2b7NQ7oFXg0+MPXbRfux3ho4=; b=GGua9EmJpb0QbnYEztrILvP8aRP7TwU3zXt41VIPig6tUXnnHf9Y8hCXp5NS8CCa 5gDr3hllYE6vRrSsLBaP3kDAj+d+kwNwy/4TIQvWH8/TTPDzUbQ3aOmFaQgrxi4EHNI 98OWGiPzqBJaw8WYVhjwwMX9GAeUhBsYwVS1hUas= Received: by mx.zohomail.com with SMTPS id 1785235470064180.6244091784373; Tue, 28 Jul 2026 03:44:30 -0700 (PDT) Received: by venus (Postfix, from userid 1000) id E2EBA181F68; Tue, 28 Jul 2026 12:44:23 +0200 (CEST) Date: Tue, 28 Jul 2026 12:44:23 +0200 From: Sebastian Reichel To: Chaoyi Chen Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Andy Yan , Vinod Koul , Nicolas Frattaroli , Heikki Krogerus , 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 Message-ID: References: <20260727064408.101-1-kernel@airkyi.com> MIME-Version: 1.0 In-Reply-To: X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.2.10.1.5.2/285.228.97 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260728_034508_796045_E0135EF8 X-CRM114-Status: GOOD ( 20.99 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6187902065798688731==" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org --===============6187902065798688731== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nrz2q7rk3saejmon" Content-Disposition: inline --nrz2q7rk3saejmon Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 0/5] This series is split from the v15 "Add Type-C DP support for RK3399 EVB MIME-Version: 1.0 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@a= irkyi.com/ > >> - Scan the entire typec_bus and attempt to register the hpd bridge, > >> so as not to miss devices that were already added during initializat= ion. > >=20 > > While that may help with the module being loaded late, it does not > > help with triggering the module load in the first place. > >=20 > > 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. > > >=20 > 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 --nrz2q7rk3saejmon Content-Type: application/pgp-signature; name="signature.asc" -----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----- --nrz2q7rk3saejmon-- --===============6187902065798688731== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============6187902065798688731==--