From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wnew2-smtp.messagingengine.com (wnew2-smtp.messagingengine.com [64.147.123.27]) (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 E1D822592 for ; Tue, 15 Nov 2022 09:14:35 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 4E0712B067C0; Tue, 15 Nov 2022 04:14:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 15 Nov 2022 04:14:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding: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=1668503670; x= 1668510870; bh=B1HEeJHxwnzHMxiVdBTQmsyU7uCgsJAkffynGla9mpE=; b=P 2EN0cTMJ2S9FfAxml4lJjMakA7nOzg5ntroVW5OIcyWN46a/MUtUIJytuuAqdHQq dcLfn9M9wzFh8jDeem4ZEBPCMsnT3PB8ZVAahddXjLBCmbapxoee7mleZf+Ubm/o XIJb2Z0fxl8BkkeK6/f2v3792vw5ebdTjdHzlZxxDO3NwPkKzXRXDco2bg9Bvlad r/cCcTR9FLmonzQxu7G/iR1HuBQDOstVh/vT40JJTPSCkWAYTn+ZDFOeAtPYU+RQ DdDfF7hDyO0BCct41T/TlZe7/3XF89pdS//6s2QTwii98wRWAydINzbPmfrjlls0 XaG/0peZJT9tZ2i0o4aYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1668503670; x= 1668510870; bh=B1HEeJHxwnzHMxiVdBTQmsyU7uCgsJAkffynGla9mpE=; b=F h50lMAr1HYrUiCIim5H9z3kaTC9Q+TmD+3BWhIGMrTVUI+kdE70jD9rWWtULGqh5 7J3pDrdwk5dDN5j86IMQBlAIoCVREhRkSj/oMNsEBI3HEr6pGeQ0NITLsk+f8pvr ln01CDj/BMI5cbTIA48Wi3W9iySjGtoduzjHq+IZrTAgtGfKJmfOaY/Ghzyo/k/k IoNYYZvT+8p63yCqLklNN9TfOHxMKYq5omQesHFKtvqnvTdmwUTPJ1ByDfC+gZGN TDb/RG8aksv2+4yCcgunkejeaMltc35mWQxQkNlRFYqEm4VHMDatIQiUzI3mJ97i VYc3C3JRkJ573s4+/1ZGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeeggddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevjghfuffkffggtgfgofesthekredtredtjeenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeeifeeigeelhfehkeeltdetjeetueelteeuveekueevffduhefffefhhfeh gfehieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 15 Nov 2022 04:14:30 -0500 (EST) From: Maxime Ripard To: Maxime Ripard , Tvrtko Ursulin , Rodrigo Vivi , Jernej Skrabec , Maarten Lankhorst , Daniel Vetter , Thomas Zimmermann , Jani Nikula , Samuel Holland , Chen-Yu Tsai , Joonas Lahtinen , Ben Skeggs , David Airlie , Karol Herbst , Maxime Ripard , Emma Anholt , Lyude Paul Cc: Dom Cobley , Phil Elwell , Geert Uytterhoeven , Dave Stevenson , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-sunxi@lists.linux.dev, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mateusz Kwiatkowski , Hans de Goede , linux-arm-kernel@lists.infradead.org, Noralf Tr��nnes In-Reply-To: <20220728-rpi-analog-tv-properties-v9-9-24b168e5bcd5@cerno.tech> References: <20220728-rpi-analog-tv-properties-v9-0-24b168e5bcd5@cerno.tech> <20220728-rpi-analog-tv-properties-v9-9-24b168e5bcd5@cerno.tech> Subject: Re: (subset) [PATCH v9 09/25] drm/modes: Move named modes parsing to a separate function Message-Id: <166850358688.1237314.7482343887898823948.b4-ty@cerno.tech> Date: Tue, 15 Nov 2022 10:13:06 +0100 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.1 On Mon, 14 Nov 2022 14:00:28 +0100, Maxime Ripard wrote: > The current construction of the named mode parsing doesn't allow to extend > it easily. Let's move it to a separate function so we can add more > parameters and modes. > > In order for the tests to still pass, some extra checks are needed, so > it's not a 1:1 move. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime