From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sender4-op-o11.zoho.com (sender4-op-o11.zoho.com [136.143.188.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B61F53E714C for ; Tue, 28 Jul 2026 10:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.11 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785235519; cv=pass; b=QeCrECWQ7MWeJP39DY4WD0JPOw9Yq0u5Sictd2Rq6CNJskRjUoK1FfI1hetFltoaWjIee7FVxMzAPxVuS/lQy/eB9npVULlgrhC9MesFIrJxIYiJFUNqgANrlBse0uNhittV+ig2SdBa68UJJYiA/ClF4YysrGJ3heGKx5GktGg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785235519; c=relaxed/simple; bh=iAE+pY7Sdjea12CvAT033CpWth6LgZL85vsikkZnt5A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=huQb0HY25/QilwXUOBOx9Vsy+Q38I3ywU91RuY2spciOtMmUBdWUIUv1uDrnqsbgtYMlDVD8D3JkIQ6mnAgipjPWWs96Jtvryg0mFy2OcWVkH4WaV59ZQhtqIxb7l8YuPr7cNEWkGPowEVp81Pem/RRv0+OZmWkNd4kXL8sqPGw= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (1024-bit key) header.d=collabora.com header.i=sebastian.reichel@collabora.com header.b=GGua9EmJ; arc=pass smtp.client-ip=136.143.188.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=sebastian.reichel@collabora.com header.b="GGua9EmJ" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 --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--