Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2261368rwb; Mon, 15 Aug 2022 01:53:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR5VVAkoyPZBAlfk0RDJjY5l1MV2BBksgPkCdnY3VNQ1z5wkkcqmp6hw7995e9iV/HCjzDEO X-Received: by 2002:a17:903:24e:b0:172:6d84:301b with SMTP id j14-20020a170903024e00b001726d84301bmr4648138plh.6.1660553632706; Mon, 15 Aug 2022 01:53:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660553632; cv=none; d=google.com; s=arc-20160816; b=cTobZFfEHCbgjYtL4jZM0mQtl4vdKdt346tjREt0rWNwDeF4LT5gQWUozIB1o8loKe 51QmEHiLXp+4ejsoL8PXMZyNIqPQMcpMoZEVMKO+W+xaPGwTEoNAbcRLl0u9rFjBWWRY QDVwF8l0zkT7CRAXyL2sCS1itMj++2e7nQn4IBrXT3vqHr7I+t+R1rqlVMLc0IihI9Lo V7umogoLUFpl0jRaoo44H50tI0XRHSt2mVlBxkEb1nZE0EXqQns6MW4902GKC+7Of5Dv sYMjPNQAQSKaH2TCNAcnmp8cn+NewfG2Sl5JGU3BnHjn5Kf6KPl2BNMIACx9KW/8iqmn EDRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=oAuXuNlgNLw6WNYkkip9f54ivuwSvAVKETMQ5321nLw=; b=CRO44S81RHODgAh3rvBLdGdrcN6p0ly71Cg2aw/ggxHjJLLGFdtMonIqRHHUjqq8HH XQ2aa/kCJiDziw+AkdemGTcn4tL9aC00ktwzSyjb8Vx0AkDMs3nShm/IGZynFyq7d77r KY0YjQx4R/bAJ0YYRDOFCmV4v42yDl4TtTO7s4VTLIo5cUxgYpuPwb82qMAi6DVytERT knOoC2FLq2k83hA5TVgSgsyeabABCO1a5Bu2Wo2VW9Rfd8ied1OEdGbYqqfXJUjAgzSz UIFxBkSsKkhldoYU4enkzofK9omRR+KZtzZP1/ZaT2sD3zhCeJv6T7eT30ed5rZmYseq vjug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=JtvTKO08; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Jn9Qv8Sy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s3-20020a63ff43000000b00422f402123asi7841194pgk.64.2022.08.15.01.53.36; Mon, 15 Aug 2022 01:53:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=JtvTKO08; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Jn9Qv8Sy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231343AbiHOIhK (ORCPT + 99 others); Mon, 15 Aug 2022 04:37:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiHOIhI (ORCPT ); Mon, 15 Aug 2022 04:37:08 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9889D1FCDE for ; Mon, 15 Aug 2022 01:37:07 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id D88AC580384; Mon, 15 Aug 2022 04:37:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 15 Aug 2022 04:37:06 -0400 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=fm3; t=1660552626; x=1660559826; bh=oAuXuNlgNL w6WNYkkip9f54ivuwSvAVKETMQ5321nLw=; b=JtvTKO088RLfabk/+DMxHb16VK n3/KKHJWzmmylfv22KyKsZ2IgQoRY1mQGHOjbIkDa1hNaGvxxgdqisxgc3yjaXdF Ebuj615E6/OcnTUSpE5NE6yGsFTuaQ80s0FJv5sMjks/2QdnyRRLACOjujWff5Gz Yp+G5AYS1+lG2uu2pqZdHL4pPdXJi3/9dzozjs/ZWXmrlXfbx5SdkNaJis5Q5atw UQg/i1i7jCWokrsynR/TqH27lVcS90dLabBKuzrtzLFfCm4/vL9Nu7uYF/zCFHza i58/kNh1OhORKfQLCIfASYZ6wK0D1xrRxcdYQmM3ORVR0LXZEMVELsLToRqQ== 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=1660552626; x=1660559826; bh=oAuXuNlgNLw6WNYkkip9f54ivuwS vAVKETMQ5321nLw=; b=Jn9Qv8Syu8SeSEzUuzwQwjjDH/H6Vy35jlCSGm/j3HYW Lg6orKUGZDBdRoyA/L9Oe8UzwD+9anbe9dpwHfcxBpY8yWLJiQVicnycxzAcmRYP 2b8Ek8R4bvcU7wpqJxF+LepddhIG3IyubJBFGekHIfKzuvGlKw0bYeNVPWtXPDYN rD7cL3SlfPv0kcVHXXrn3loLvtMuB58GuQgOE8aSXh+5CMBRa5GWsaXzgf+M/3uj 0RFuY32Gh1D+PkvX4fHhh67/ShwzOfKs1Hrx+oxia2bWp0ru0Ye7yKDz24F7wgrQ cGE1rixPIb+59RLBshr88h9e2hentsFI5G5ISL/1/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehvddgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpefgueeutdefgfevveehjeefgeehvdejjeefheekffduteeutdfgieeiieff uedtffenucffohhmrghinhepsghoohhtlhhinhdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgv tghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 04:37:04 -0400 (EDT) Date: Mon, 15 Aug 2022 10:37:02 +0200 From: Maxime Ripard To: Mateusz Kwiatkowski Cc: Jernej Skrabec , Martin Blumenstingl , Chen-Yu Tsai , Philipp Zabel , Jerome Brunet , Samuel Holland , Thomas Zimmermann , Daniel Vetter , Emma Anholt , David Airlie , Maarten Lankhorst , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , Kevin Hilman , Neil Armstrong , linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Phil Elwell , linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven , Dave Stevenson , linux-amlogic@lists.infradead.org, dri-devel@lists.freedesktop.org, Dom Cobley Subject: Re: [PATCH v1 24/35] drm/vc4: vec: Add support for more analog TV standards Message-ID: <20220815083702.ipcmdwzkh2fxvdp7@houat> References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-24-3d53ae722097@cerno.tech> <0e7bebe2-3f45-0a1b-a4b6-bb783f8de7b6@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xit2556wzwnf3mna" Content-Disposition: inline In-Reply-To: <0e7bebe2-3f45-0a1b-a4b6-bb783f8de7b6@gmail.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xit2556wzwnf3mna Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jul 29, 2022 at 07:55:30PM +0200, Mateusz Kwiatkowski wrote: > Hi Maxime, >=20 > I think that declaring PAL-B and SECAM-B as the only supported 576i > norms is a bit random. Starting with this patch, PAL-N should be supported as well, right? > Norms B, D, G, H, I, K, K1 and L (for both PAL and SECAM) are > essentially identical if we're talking about baseband signals, AFAIK > they only differ when those are modulated as RF signals. I'm not sure > if there's a point to differentiating those (that's more about patch > 05/35) unless we need to deal with some device that actually features > an RF modulator. What I was aiming for is to have all the cases we have in all the drivers covered so that we can make that property generic. i915 declares and uses all those variants: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/i915/display= /intel_sdvo.c#L68 Especially since it's i915 and it's pretty much the standard as far as the uAPI goes, I'd rather avoid any regression there. > But if we do want to have all those norms separate, then I'd say that > VC4 should declare support for all of those, and all should map to the > same VEC settings. Some users from e.g. the UK might think that they > won't get proper picture if PAL-I is not on the list of supported > norms. Same goes for e.g. SECAM-D/K in the former Soviet territories, > and so on. I'd be open to it, but we can always extend vc4 to support those modes later on. The work you did to make that easier should make it trivial. Maxime --xit2556wzwnf3mna Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYvoFrgAKCRDj7w1vZxhR xZnyAP9jXpEvF2lUxvex7zTOvooUq38MKs/KI6lRaxdYOVThegEA6BfLk9GnTPKE 2NpP3lugt4OQILqB7O/cIIoIU2hkxwI= =X9DV -----END PGP SIGNATURE----- --xit2556wzwnf3mna--