From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 ECCCF3E5562 for ; Wed, 8 Jul 2026 06:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783493214; cv=none; b=PoGW8cuX9lTCQI9J2mu7LsjIgviOi65R3RBtp/bp4jw6ZkalxT0h9iwg7crYcuRUkuyRi/Y2rVi5WL4NhrwUTQhKCzWB/hX4OxR1JTcV0wN1K0QOhSNs3eaEdpvbiv4H24G27wzfjDrgqVoGz5/2st8HHeiDFbg4FVDhoEMYDfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783493214; c=relaxed/simple; bh=N+UJgaBnEZ1hwz3e6PURMVy8fZq2JTxDqe5CO8jFR/g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KwVy/hE5nsbagLP93TqfjA56++2uNLvi76lDFZekc3WntZTQDDUc5S50wO897pIuZPkRZrxtUNq7Lh2jK6W5N7RXRoETXy4GdaTkY9A07FK0v5j+PDadCJDqt+S3PPywVOcvN7XcXM++/j98+ep1bvNd+mfeUf1r01hYbUJy1oM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gdRHtWwm; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gdRHtWwm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 208C21F00A3A; Wed, 8 Jul 2026 06:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783493212; bh=dda6EKnJcaA11GKqrW+DCxDvbZY1WLkxUaV4elPeMqA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gdRHtWwmBpljYkDnbi+s0Po0ALJbs0er1Z1e6nbWh32zNXoqSX/HClNx2FsEaXrx+ PuL5GBym3trY+YYLRk3eDYc+vZnLg56n5WEWDMlPKGUTAf9jJLWGifLnFm3c9+f8dR RZqoGE4M4NJwdfI9dMmoq0uEcc3tHE1I8cJuNY/0cPMfu/x8pYs4ICDM6yshTSYDMA qhsPFFTPDzt5rxdggP2efSRCVfhM2kh3IJhPJCs2yEGFhgGcfF5l+6ENt/ib4jjNmE +5652/kWuWR+D4WGiMZss3KtyB9jT3eryMUMdhyOCit025OIwjnNjH11k3xrmqyq2c rnyNBnZWG4PgQ== Date: Wed, 8 Jul 2026 08:46:50 +0200 From: Maxime Ripard To: Cristian Ciocaltea Cc: Dmitry Baryshkov , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Andy Yan , Daniel Stone , Dave Stevenson , =?utf-8?B?TWHDrXJh?= Canal , Raspberry Pi Kernel Maintenance , kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v8 03/39] drm/display: bridge_connector: Pass HDMI capabilities through caps struct Message-ID: <20260708-bold-ruby-potoo-c6c949@houat> References: <20260702-dw-hdmi-qp-scramb-v8-0-d79890d00b6a@collabora.com> <20260702-dw-hdmi-qp-scramb-v8-3-d79890d00b6a@collabora.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-sha384; protocol="application/pgp-signature"; boundary="u7g35xr4vgpqkhon" Content-Disposition: inline In-Reply-To: --u7g35xr4vgpqkhon Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v8 03/39] drm/display: bridge_connector: Pass HDMI capabilities through caps struct MIME-Version: 1.0 On Fri, Jul 03, 2026 at 10:55:09PM +0300, Cristian Ciocaltea wrote: > On 7/3/26 5:19 PM, Dmitry Baryshkov wrote: > > On Thu, Jul 02, 2026 at 05:46:16PM +0300, Cristian Ciocaltea wrote: > >> Switch drm_bridge_connector_init() to > >> drmm_connector_hdmi_init_with_caps(), collecting the bridge's HDMI > >> properties into a stack drm_connector_hdmi_caps so future HDMI 2.x > >> capabilities can be plumbed without growing the argument list. > >> > >> Introduce struct drm_bridge::supported_hdmi_ver to let bridges declare > >> the HDMI specification version they are conformant with, and forward it > >> to the connector layer through the new caps struct so HDMI 2.x features > >> can be gated on real source capability rather than guesswork. > >=20 > > And it's left uninitialized by the bridges, which doesn't mean anything. > > If you don't want to touch all bridge drivers in one commit, please > > provide some migration path and hopefully get rid of it by the end of > > the series.=20 >=20 > Sure, one question though: at the end of the migration, would it be fine = to > stick with drmm_connector_hdmi_init_with_caps() and just drop > drmm_connector_hdmi_init()? Otherwise I'll rename it back. Absolutely, it doesn't make any sense to keep both variants. Maxime --u7g35xr4vgpqkhon Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCak3yUgAKCRAnX84Zoj2+ dgA6AYCyDFgGTxFn0SBcOkPBApbes4BuK+X5JHvKvEk7xiWbO93Vqka++5/XzGyT Zz7K1j4BfipIdXYUQH8XNvCOMpkrfjeMlnCiCXrYlN9EsZpBqVIbnIalrv/UncdJ krF4ykO6LA== =4OYk -----END PGP SIGNATURE----- --u7g35xr4vgpqkhon--