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 2B607440A0A; Thu, 24 Sep 2026 08:57:30 +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=1790240253; cv=none; b=FtGh/EX9IjAvnVieWwL9SftCA/McbhWRa4iN8sk3KBbortIzwiZ/ouwd+F/4/3ovzlVshfvLmYA1nGceXqNFUpk/deCW0FJ1pSMN0dFjcmqHCWYjrOma1e6HZRLENMghM3I+UHXKj75F3G0+XUAR59nvk27SOY2ajD3yWpM9S3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790240253; c=relaxed/simple; bh=xsiuJQwIZ5xEk8gorL2gE4ZMImjXNE15Fspti5LUvPY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tk34WMAHsFrRyDuqkbeD36b8lgmQFC7bEf1oj4Yzu503Cun+2j0TFuxdn7tsad1FSmoCVuC3sSOD1mdIEOYC77UkVMSlz5l2v3dbjHXE+gWTN1Jc4CePrvY+UysK+zEXfA6BrvdWE+dIverdSdx+88oHQWVZhowJePdr2kRRX1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y66Nn1F7; 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="Y66Nn1F7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AAFF1F00893; Thu, 24 Sep 2026 08:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790240248; bh=KsfA+7ZRfaMaOYHf9FLzqm+87QxZc0nf8pdVelteCEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Y66Nn1F70+EOrXieRS0criFH3uxMANVUI7oanFcCoy8GmyXIy+pJT4bYVlm/thmPG N7qIdDiz1YmSsvWNdouFIMEZW4BAqVieOEmxdbjyjg8VeCwPdmNl98xvvOpohxm65Y GyNzGB6Z7BI3y56gBKntItSCJRjU51zGLLQXLvZnr16k3FQ6buDS49+J1C+07Q9T63 n6nHxyci7fO61wmUlSLUGoMKJe5Tmzp5UMO6z0QysEePeglKrYmnlnSTGRtL4Xmc0R znGcbePU3j8NmjIOaR7E0m14ncuBzwafBVjkGLhSAzXI59gpYQZewywAESCZXVQDnZ 5vqxv1raD/1Pw== Date: Thu, 24 Sep 2026 10:57:24 +0200 From: Maxime Ripard To: Linus Walleij Cc: Luca Ceresoli , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Jessica Zhang , Laurentiu Palcu , Lucas Stach , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Paul Cercueil , Paul Kocialkowski , Inki Dae , Jagan Teki , Marek Szyprowski , Sean Paul , Jonathan Corbet , Shuah Khan , Randy Dunlap , Albert Esteve , Anusha Srivatsa , Dmitry Baryshkov , Hui Pu , Ian Ray , Thomas Petazzoni , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, asahi@lists.linux.dev, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-doc@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH v3 12/19] drm/mcde: dsi: don't create a panel_bridge Message-ID: References: <20260916-drm-bridge-every-panel-v3-0-83afb4f1a707@bootlin.com> <20260916-drm-bridge-every-panel-v3-12-83afb4f1a707@bootlin.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="fta6xv3zcvscpec2" Content-Disposition: inline In-Reply-To: --fta6xv3zcvscpec2 Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 12/19] drm/mcde: dsi: don't create a panel_bridge MIME-Version: 1.0 On Thu, Sep 24, 2026 at 09:51:53AM +0200, Linus Walleij wrote: > Hi Luca, >=20 > sorry for my slowness! >=20 > On Thu, Sep 24, 2026 at 9:01=E2=80=AFAM Luca Ceresoli wrote: > > On Tue Sep 22, 2026 at 9:09 AM CEST, Maxime Ripard wrote: >=20 > > >> - } else if (bridge) { > > >> + if (!bridge) { > > >> + dev_err(dev, "no bridge\n"); > > >> + return -ENODEV; > > >> + } else if (!drm_bridge_is_panel(bridge)) { > > >> /* TODO: AV8100 HDMI encoder goes here for example */ > > >> dev_info(dev, "connected to non-panel bridge (unsupport= ed)\n"); > > >> return -ENODEV; > > > > > > I wonder if we still need that branch. Every panel is a bridge now, a= nd > > > it looks like we don't have any specific panel handling in this drive= r, > > > so I guess it supports bridges already? > > > > > > Linus, do you know why this condition was here in the first place? > > > > I had the same thought while writing the patch, but I chose to be > > conservative. > > > > Linus, unless you have more info I'm going to apply the patch as > > is. Removing this special case would be welcome as a later patch. >=20 > I'd say go ahead as-is. I'm fine with that, but I really want this removed at some point. > I do have the idea to code up and submit the AV8100 encoder > and I have the hardware to test it, but every other user should > be using panels directly, and I would be the only non-panel > user so I can deal with it when it comes up. It won't change a thing. All existing "panel" users will be bridge users after this patch is merged. So whether you want to enable a bridge or not shouldn't matter, the only thing that does is whether the existing users would still work. Maxime --fta6xv3zcvscpec2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCarTl8wAKCRAnX84Zoj2+ dhwWAXwI9qMs84ZRfc2g48IeAyQiE/CtbfMWnKHKCoJcY62gOn2KtPtJlfAUSVSt Fz2FzIoBf1P/bkrhzAS0uao6/CjJ0F2xh689BoYPK8a7rDMJeckpdh6Df4f795pW 2kQWWS2bNQ== =k5VA -----END PGP SIGNATURE----- --fta6xv3zcvscpec2--