From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) (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 EBB867F for ; Mon, 7 Nov 2022 10:02:11 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 5E2002B05B05; Mon, 7 Nov 2022 05:02:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 05:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1667815325; x=1667822525; bh=EGvXLw4tRF +bUdJCRxzWOerhFrvg00IBqmpmi1s4Rko=; b=kN/K/+W+W/ddU3QqI3ZX6Ox4n7 hInbfU7nv34ZqYeEP1iavLM2uHeJ6PDDL/mxfMAyR60NSrhSxazmFL47+oYwfek/ Crq8bE3W7yZMEQVDdiCVyDmAsipb/NDmwdOGN/NyFwDLEZgYkIFlqCU8teEadQhS tynepdw72go4ZuzCmcZJXOHwpTPFnjqTQzhJ8HoIiUppJVNUtR+Fb4qouWZBg7Va j93rprz/Xqy3t+a4iyJhasrpj+NUD1tSeqJE7tcLTMLj48qG9ZKMZ4swJ/fvRm0s 3bkwk32DY9P13xcfwnlqIqUhwsdc6arn7o01ul+dL1eiDRY+DYjdZwSOUrhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1667815325; x=1667822525; bh=EGvXLw4tRF+bUdJCRxzWOerhFrvg 00IBqmpmi1s4Rko=; b=QhxLDcYjSyGZek0t+w5u2aOw8DT/wHPi6TG8ksD7c2Os 7L3aYI0hLCB1J3z7bOFhbhAKRr1XH9YSBmIbbqFOBGTuQicnZsClPwa2PabOgxNa 0mCSomQ+JHC1T3VfAjedV7goZjMFRM/EAybIjztr4/YMREwnxiV44TRcDaqABBHW L34EF2Joga00w6om+FXHKJcARzSDhwY5hGqYcLxML13C1hrV89tZYWk0MpYFmx4M 4bPd7HbeAMF6u//IHTI/EKkGHEUU6CCTRCz0drNymYdIYZ5KLSXzFfPRrBdpq5xv wgAduEqlXnVAG2YeiU7F5xosd7FERyBlv35VtKMl7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdekffeh heevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 05:02:04 -0500 (EST) Date: Mon, 7 Nov 2022 11:02:02 +0100 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Cc: Karol Herbst , Emma Anholt , Ben Skeggs , Chen-Yu Tsai , Rodrigo Vivi , Maarten Lankhorst , Jani Nikula , Daniel Vetter , Thomas Zimmermann , Tvrtko Ursulin , Samuel Holland , Jernej Skrabec , David Airlie , Joonas Lahtinen , Lyude Paul , linux-sunxi@lists.linux.dev, intel-gfx@lists.freedesktop.org, Phil Elwell , linux-arm-kernel@lists.infradead.org, nouveau@lists.freedesktop.org, Hans de Goede , Dom Cobley , Mateusz Kwiatkowski , dri-devel@lists.freedesktop.org, Dave Stevenson , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH v6 10/23] drm/modes: Fill drm_cmdline mode from named modes Message-ID: <20221107100202.mv6b4uewzgpj2mf4@houat> References: <20220728-rpi-analog-tv-properties-v6-0-e7792734108f@cerno.tech> <20220728-rpi-analog-tv-properties-v6-10-e7792734108f@cerno.tech> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y3igasrhfxn453up" Content-Disposition: inline In-Reply-To: --y3igasrhfxn453up Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 06, 2022 at 02:04:56PM +0100, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 26.10.2022 17.33, skrev maxime@cerno.tech: > > The current code to deal with named modes will only set the mode name, = and > > then it's up to drivers to try to match that name to whatever mode or > > configuration they see fit. > >=20 >=20 > I couldn't find any driver that does that, all I could find that cares > about named modes are drm_client. Did I miss something here? sun4i at least does it: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/sun4i/sun4i_= tv.c#L292 I'm not aware of any other driver relying on named modes though. > Apart from that: >=20 > Reviewed-by: Noralf Tr=F8nnes Thanks! Maxime --y3igasrhfxn453up Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY2jXmgAKCRDj7w1vZxhR xbFeAP9qPjF1vwW8JaPeSCTHChhS2FnOIGUmcNPxtQgaD+eqWgD+PuirHPq1OF1i g6XJzb8JOxNS7dRxptuSpZXP2iFvPA4= =1+Ik -----END PGP SIGNATURE----- --y3igasrhfxn453up-- 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4BD40C433FE for ; Mon, 7 Nov 2022 10:02:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C95E10E26F; Mon, 7 Nov 2022 10:02:15 +0000 (UTC) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id D79F589A88; Mon, 7 Nov 2022 10:02:11 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 5E2002B05B05; Mon, 7 Nov 2022 05:02:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 05:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1667815325; x=1667822525; bh=EGvXLw4tRF +bUdJCRxzWOerhFrvg00IBqmpmi1s4Rko=; b=kN/K/+W+W/ddU3QqI3ZX6Ox4n7 hInbfU7nv34ZqYeEP1iavLM2uHeJ6PDDL/mxfMAyR60NSrhSxazmFL47+oYwfek/ Crq8bE3W7yZMEQVDdiCVyDmAsipb/NDmwdOGN/NyFwDLEZgYkIFlqCU8teEadQhS tynepdw72go4ZuzCmcZJXOHwpTPFnjqTQzhJ8HoIiUppJVNUtR+Fb4qouWZBg7Va j93rprz/Xqy3t+a4iyJhasrpj+NUD1tSeqJE7tcLTMLj48qG9ZKMZ4swJ/fvRm0s 3bkwk32DY9P13xcfwnlqIqUhwsdc6arn7o01ul+dL1eiDRY+DYjdZwSOUrhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1667815325; x=1667822525; bh=EGvXLw4tRF+bUdJCRxzWOerhFrvg 00IBqmpmi1s4Rko=; b=QhxLDcYjSyGZek0t+w5u2aOw8DT/wHPi6TG8ksD7c2Os 7L3aYI0hLCB1J3z7bOFhbhAKRr1XH9YSBmIbbqFOBGTuQicnZsClPwa2PabOgxNa 0mCSomQ+JHC1T3VfAjedV7goZjMFRM/EAybIjztr4/YMREwnxiV44TRcDaqABBHW L34EF2Joga00w6om+FXHKJcARzSDhwY5hGqYcLxML13C1hrV89tZYWk0MpYFmx4M 4bPd7HbeAMF6u//IHTI/EKkGHEUU6CCTRCz0drNymYdIYZ5KLSXzFfPRrBdpq5xv wgAduEqlXnVAG2YeiU7F5xosd7FERyBlv35VtKMl7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdekffeh heevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 05:02:04 -0500 (EST) Date: Mon, 7 Nov 2022 11:02:02 +0100 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Message-ID: <20221107100202.mv6b4uewzgpj2mf4@houat> References: <20220728-rpi-analog-tv-properties-v6-0-e7792734108f@cerno.tech> <20220728-rpi-analog-tv-properties-v6-10-e7792734108f@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y3igasrhfxn453up" Content-Disposition: inline In-Reply-To: Subject: Re: [Nouveau] [PATCH v6 10/23] drm/modes: Fill drm_cmdline mode from named modes X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , nouveau@lists.freedesktop.org, Joonas Lahtinen , dri-devel@lists.freedesktop.org, Phil Elwell , Emma Anholt , Samuel Holland , Jernej Skrabec , Chen-Yu Tsai , Geert Uytterhoeven , Ben Skeggs , linux-sunxi@lists.linux.dev, Daniel Vetter , intel-gfx@lists.freedesktop.org, Maarten Lankhorst , Jani Nikula , Hans de Goede , Rodrigo Vivi , linux-arm-kernel@lists.infradead.org, Tvrtko Ursulin , Dom Cobley , linux-kernel@vger.kernel.org, Mateusz Kwiatkowski Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" --y3igasrhfxn453up Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 06, 2022 at 02:04:56PM +0100, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 26.10.2022 17.33, skrev maxime@cerno.tech: > > The current code to deal with named modes will only set the mode name, = and > > then it's up to drivers to try to match that name to whatever mode or > > configuration they see fit. > >=20 >=20 > I couldn't find any driver that does that, all I could find that cares > about named modes are drm_client. Did I miss something here? sun4i at least does it: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/sun4i/sun4i_= tv.c#L292 I'm not aware of any other driver relying on named modes though. > Apart from that: >=20 > Reviewed-by: Noralf Tr=F8nnes Thanks! Maxime --y3igasrhfxn453up Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY2jXmgAKCRDj7w1vZxhR xbFeAP9qPjF1vwW8JaPeSCTHChhS2FnOIGUmcNPxtQgaD+eqWgD+PuirHPq1OF1i g6XJzb8JOxNS7dRxptuSpZXP2iFvPA4= =1+Ik -----END PGP SIGNATURE----- --y3igasrhfxn453up-- 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B2339C433FE for ; Mon, 7 Nov 2022 10:02:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E33A789A88; Mon, 7 Nov 2022 10:02:14 +0000 (UTC) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id D79F589A88; Mon, 7 Nov 2022 10:02:11 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 5E2002B05B05; Mon, 7 Nov 2022 05:02:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 05:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1667815325; x=1667822525; bh=EGvXLw4tRF +bUdJCRxzWOerhFrvg00IBqmpmi1s4Rko=; b=kN/K/+W+W/ddU3QqI3ZX6Ox4n7 hInbfU7nv34ZqYeEP1iavLM2uHeJ6PDDL/mxfMAyR60NSrhSxazmFL47+oYwfek/ Crq8bE3W7yZMEQVDdiCVyDmAsipb/NDmwdOGN/NyFwDLEZgYkIFlqCU8teEadQhS tynepdw72go4ZuzCmcZJXOHwpTPFnjqTQzhJ8HoIiUppJVNUtR+Fb4qouWZBg7Va j93rprz/Xqy3t+a4iyJhasrpj+NUD1tSeqJE7tcLTMLj48qG9ZKMZ4swJ/fvRm0s 3bkwk32DY9P13xcfwnlqIqUhwsdc6arn7o01ul+dL1eiDRY+DYjdZwSOUrhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1667815325; x=1667822525; bh=EGvXLw4tRF+bUdJCRxzWOerhFrvg 00IBqmpmi1s4Rko=; b=QhxLDcYjSyGZek0t+w5u2aOw8DT/wHPi6TG8ksD7c2Os 7L3aYI0hLCB1J3z7bOFhbhAKRr1XH9YSBmIbbqFOBGTuQicnZsClPwa2PabOgxNa 0mCSomQ+JHC1T3VfAjedV7goZjMFRM/EAybIjztr4/YMREwnxiV44TRcDaqABBHW L34EF2Joga00w6om+FXHKJcARzSDhwY5hGqYcLxML13C1hrV89tZYWk0MpYFmx4M 4bPd7HbeAMF6u//IHTI/EKkGHEUU6CCTRCz0drNymYdIYZ5KLSXzFfPRrBdpq5xv wgAduEqlXnVAG2YeiU7F5xosd7FERyBlv35VtKMl7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdekffeh heevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 05:02:04 -0500 (EST) Date: Mon, 7 Nov 2022 11:02:02 +0100 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Subject: Re: [PATCH v6 10/23] drm/modes: Fill drm_cmdline mode from named modes Message-ID: <20221107100202.mv6b4uewzgpj2mf4@houat> References: <20220728-rpi-analog-tv-properties-v6-0-e7792734108f@cerno.tech> <20220728-rpi-analog-tv-properties-v6-10-e7792734108f@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y3igasrhfxn453up" Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Karol Herbst , David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Phil Elwell , Emma Anholt , Samuel Holland , Jernej Skrabec , Chen-Yu Tsai , Geert Uytterhoeven , Ben Skeggs , linux-sunxi@lists.linux.dev, intel-gfx@lists.freedesktop.org, Hans de Goede , Rodrigo Vivi , linux-arm-kernel@lists.infradead.org, Tvrtko Ursulin , Dom Cobley , Dave Stevenson , linux-kernel@vger.kernel.org, Mateusz Kwiatkowski , Thomas Zimmermann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --y3igasrhfxn453up Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 06, 2022 at 02:04:56PM +0100, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 26.10.2022 17.33, skrev maxime@cerno.tech: > > The current code to deal with named modes will only set the mode name, = and > > then it's up to drivers to try to match that name to whatever mode or > > configuration they see fit. > >=20 >=20 > I couldn't find any driver that does that, all I could find that cares > about named modes are drm_client. Did I miss something here? sun4i at least does it: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/sun4i/sun4i_= tv.c#L292 I'm not aware of any other driver relying on named modes though. > Apart from that: >=20 > Reviewed-by: Noralf Tr=F8nnes Thanks! Maxime --y3igasrhfxn453up Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY2jXmgAKCRDj7w1vZxhR xbFeAP9qPjF1vwW8JaPeSCTHChhS2FnOIGUmcNPxtQgaD+eqWgD+PuirHPq1OF1i g6XJzb8JOxNS7dRxptuSpZXP2iFvPA4= =1+Ik -----END PGP SIGNATURE----- --y3igasrhfxn453up-- 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 CFED5C4332F for ; Mon, 7 Nov 2022 10:02:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B3C610E2AD; Mon, 7 Nov 2022 10:02:18 +0000 (UTC) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id D79F589A88; Mon, 7 Nov 2022 10:02:11 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 5E2002B05B05; Mon, 7 Nov 2022 05:02:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 05:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1667815325; x=1667822525; bh=EGvXLw4tRF +bUdJCRxzWOerhFrvg00IBqmpmi1s4Rko=; b=kN/K/+W+W/ddU3QqI3ZX6Ox4n7 hInbfU7nv34ZqYeEP1iavLM2uHeJ6PDDL/mxfMAyR60NSrhSxazmFL47+oYwfek/ Crq8bE3W7yZMEQVDdiCVyDmAsipb/NDmwdOGN/NyFwDLEZgYkIFlqCU8teEadQhS tynepdw72go4ZuzCmcZJXOHwpTPFnjqTQzhJ8HoIiUppJVNUtR+Fb4qouWZBg7Va j93rprz/Xqy3t+a4iyJhasrpj+NUD1tSeqJE7tcLTMLj48qG9ZKMZ4swJ/fvRm0s 3bkwk32DY9P13xcfwnlqIqUhwsdc6arn7o01ul+dL1eiDRY+DYjdZwSOUrhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1667815325; x=1667822525; bh=EGvXLw4tRF+bUdJCRxzWOerhFrvg 00IBqmpmi1s4Rko=; b=QhxLDcYjSyGZek0t+w5u2aOw8DT/wHPi6TG8ksD7c2Os 7L3aYI0hLCB1J3z7bOFhbhAKRr1XH9YSBmIbbqFOBGTuQicnZsClPwa2PabOgxNa 0mCSomQ+JHC1T3VfAjedV7goZjMFRM/EAybIjztr4/YMREwnxiV44TRcDaqABBHW L34EF2Joga00w6om+FXHKJcARzSDhwY5hGqYcLxML13C1hrV89tZYWk0MpYFmx4M 4bPd7HbeAMF6u//IHTI/EKkGHEUU6CCTRCz0drNymYdIYZ5KLSXzFfPRrBdpq5xv wgAduEqlXnVAG2YeiU7F5xosd7FERyBlv35VtKMl7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdekffeh heevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 05:02:04 -0500 (EST) Date: Mon, 7 Nov 2022 11:02:02 +0100 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Message-ID: <20221107100202.mv6b4uewzgpj2mf4@houat> References: <20220728-rpi-analog-tv-properties-v6-0-e7792734108f@cerno.tech> <20220728-rpi-analog-tv-properties-v6-10-e7792734108f@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y3igasrhfxn453up" Content-Disposition: inline In-Reply-To: Subject: Re: [Intel-gfx] [PATCH v6 10/23] drm/modes: Fill drm_cmdline mode from named modes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Karol Herbst , David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Phil Elwell , Emma Anholt , Samuel Holland , Jernej Skrabec , Chen-Yu Tsai , Geert Uytterhoeven , Ben Skeggs , linux-sunxi@lists.linux.dev, Daniel Vetter , intel-gfx@lists.freedesktop.org, Hans de Goede , Rodrigo Vivi , linux-arm-kernel@lists.infradead.org, Dom Cobley , Dave Stevenson , linux-kernel@vger.kernel.org, Mateusz Kwiatkowski , Thomas Zimmermann Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" --y3igasrhfxn453up Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 06, 2022 at 02:04:56PM +0100, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 26.10.2022 17.33, skrev maxime@cerno.tech: > > The current code to deal with named modes will only set the mode name, = and > > then it's up to drivers to try to match that name to whatever mode or > > configuration they see fit. > >=20 >=20 > I couldn't find any driver that does that, all I could find that cares > about named modes are drm_client. Did I miss something here? sun4i at least does it: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/sun4i/sun4i_= tv.c#L292 I'm not aware of any other driver relying on named modes though. > Apart from that: >=20 > Reviewed-by: Noralf Tr=F8nnes Thanks! Maxime --y3igasrhfxn453up Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY2jXmgAKCRDj7w1vZxhR xbFeAP9qPjF1vwW8JaPeSCTHChhS2FnOIGUmcNPxtQgaD+eqWgD+PuirHPq1OF1i g6XJzb8JOxNS7dRxptuSpZXP2iFvPA4= =1+Ik -----END PGP SIGNATURE----- --y3igasrhfxn453up-- 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 7D984C433FE for ; Mon, 7 Nov 2022 10:03:24 +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=C2DApiIz1PAHiNKRmzBlIPqcG4So0GZ5JxsLnX+6ek8=; b=dTq8mueB5ZeRGhIVuQpuh7diVm SaTInvX/wtQ01GseIPEihYhlquQCEJb5kFZP6N9NOEz+uhP9gkm7KNsjjiRH2ugGHEgGMB3jGaGd9 HHPW4WiVt3NtHmw9SR1llbVWqBlYqQ6L9WdYh/BeSMFXI0triVGrbm/B7QFy7SwRmZcK5noPmQL79 Oeb+5PumeGFlR7wqHINXeeox90nKSQL03TNKd93RvXo14WRmKWD5sVWNsJkk2pKxyQwUpuAk4Rk1X 8HMdaHgPo/fhkmjH0eD7jHSZG/IJNhArcjBDPk4Dw9AiTG+Oio914zFMsBC3+l6K+H+ETa7ZAyQKT NOfwOJGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oryxR-00DZhe-EU; Mon, 07 Nov 2022 10:02:21 +0000 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oryxN-00DZeW-6h for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 10:02:19 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 5E2002B05B05; Mon, 7 Nov 2022 05:02:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 05:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1667815325; x=1667822525; bh=EGvXLw4tRF +bUdJCRxzWOerhFrvg00IBqmpmi1s4Rko=; b=kN/K/+W+W/ddU3QqI3ZX6Ox4n7 hInbfU7nv34ZqYeEP1iavLM2uHeJ6PDDL/mxfMAyR60NSrhSxazmFL47+oYwfek/ Crq8bE3W7yZMEQVDdiCVyDmAsipb/NDmwdOGN/NyFwDLEZgYkIFlqCU8teEadQhS tynepdw72go4ZuzCmcZJXOHwpTPFnjqTQzhJ8HoIiUppJVNUtR+Fb4qouWZBg7Va j93rprz/Xqy3t+a4iyJhasrpj+NUD1tSeqJE7tcLTMLj48qG9ZKMZ4swJ/fvRm0s 3bkwk32DY9P13xcfwnlqIqUhwsdc6arn7o01ul+dL1eiDRY+DYjdZwSOUrhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1667815325; x=1667822525; bh=EGvXLw4tRF+bUdJCRxzWOerhFrvg 00IBqmpmi1s4Rko=; b=QhxLDcYjSyGZek0t+w5u2aOw8DT/wHPi6TG8ksD7c2Os 7L3aYI0hLCB1J3z7bOFhbhAKRr1XH9YSBmIbbqFOBGTuQicnZsClPwa2PabOgxNa 0mCSomQ+JHC1T3VfAjedV7goZjMFRM/EAybIjztr4/YMREwnxiV44TRcDaqABBHW L34EF2Joga00w6om+FXHKJcARzSDhwY5hGqYcLxML13C1hrV89tZYWk0MpYFmx4M 4bPd7HbeAMF6u//IHTI/EKkGHEUU6CCTRCz0drNymYdIYZ5KLSXzFfPRrBdpq5xv wgAduEqlXnVAG2YeiU7F5xosd7FERyBlv35VtKMl7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdekffeh heevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggt hh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 05:02:04 -0500 (EST) Date: Mon, 7 Nov 2022 11:02:02 +0100 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Cc: Karol Herbst , Emma Anholt , Ben Skeggs , Chen-Yu Tsai , Rodrigo Vivi , Maarten Lankhorst , Jani Nikula , Daniel Vetter , Thomas Zimmermann , Tvrtko Ursulin , Samuel Holland , Jernej Skrabec , David Airlie , Joonas Lahtinen , Lyude Paul , linux-sunxi@lists.linux.dev, intel-gfx@lists.freedesktop.org, Phil Elwell , linux-arm-kernel@lists.infradead.org, nouveau@lists.freedesktop.org, Hans de Goede , Dom Cobley , Mateusz Kwiatkowski , dri-devel@lists.freedesktop.org, Dave Stevenson , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH v6 10/23] drm/modes: Fill drm_cmdline mode from named modes Message-ID: <20221107100202.mv6b4uewzgpj2mf4@houat> References: <20220728-rpi-analog-tv-properties-v6-0-e7792734108f@cerno.tech> <20220728-rpi-analog-tv-properties-v6-10-e7792734108f@cerno.tech> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_020217_466470_324C2004 X-CRM114-Status: GOOD ( 14.23 ) 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: , Content-Type: multipart/mixed; boundary="===============4585424360326586006==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4585424360326586006== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y3igasrhfxn453up" Content-Disposition: inline --y3igasrhfxn453up Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 06, 2022 at 02:04:56PM +0100, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 26.10.2022 17.33, skrev maxime@cerno.tech: > > The current code to deal with named modes will only set the mode name, = and > > then it's up to drivers to try to match that name to whatever mode or > > configuration they see fit. > >=20 >=20 > I couldn't find any driver that does that, all I could find that cares > about named modes are drm_client. Did I miss something here? sun4i at least does it: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/sun4i/sun4i_= tv.c#L292 I'm not aware of any other driver relying on named modes though. > Apart from that: >=20 > Reviewed-by: Noralf Tr=F8nnes Thanks! Maxime --y3igasrhfxn453up Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCY2jXmgAKCRDj7w1vZxhR xbFeAP9qPjF1vwW8JaPeSCTHChhS2FnOIGUmcNPxtQgaD+eqWgD+PuirHPq1OF1i g6XJzb8JOxNS7dRxptuSpZXP2iFvPA4= =1+Ik -----END PGP SIGNATURE----- --y3igasrhfxn453up-- --===============4585424360326586006== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4585424360326586006==--