Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4677008rwb; Wed, 17 Aug 2022 04:24:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR51n4b0KMqEQkdqoA3ZeedTfejfd7CvHogqBVvUVL18lEvj4vMaaf8NxnWqhlymXOF/YtIa X-Received: by 2002:a17:902:f70d:b0:16c:50a2:78d1 with SMTP id h13-20020a170902f70d00b0016c50a278d1mr25482569plo.34.1660735492508; Wed, 17 Aug 2022 04:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660735492; cv=none; d=google.com; s=arc-20160816; b=Cb0ri3LuVSPkeGzvy0y2lmWPSImllOXHmMRS6YlnedemBkuwo/lrWz+HbADeNu/hl3 56oW8qDsKMPFnYwEkiclAMfNm1XC7lPQ/M7+LbD14aKwnW0SrGvjfOsFQ+WHfe7M4QP+ vIZvhyOen00cfQeuLMZIB5w2gI6+0Qe3bAqUCxNChV1GvkP34tQv78UKVHsrW+MKExTq eytzg3x5p7p2NihnPZNb9RtnF53Ly8doQvl4ucefEoIZFmZxqnlpQi+9zceZGQTjhqIq v6UahHgFwkkKI4KfUZsg1Vq79qaOwEHpidm8rkNQlvqQBEniTe68bPBUvmJ0s2HFJgr2 vGPg== 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=7/MyY+LBb7xbVEmhuCyBhoCzY/9cxkCFf1VHHVrX6CY=; b=ojCKcXvv/uUu01xEd6BWfC5mQk4rxc/3lSiGEsp82rJoDonGYb6oaPND3z9p1ZwrRu CHIaxPmxxt8CIGRBaW+lIFi10CNUnTEkhYpncLYTqBttpgsQIjXF9OhDgHCBRnxWOftl pBC6XOjNd+vn3PEClhsHaVuVIbx8ZDCQ28l9z+TaqxkCv+g+60Q46HcsBxQZsWwbzpjA y5V1c2Zg3X3TeYcbNgZvrulkjKt5FlWgZx9A+DpK9gxzYrXHeG7kmwGztWNcF0VBEu9p is4e+v+haLnfX5BESQh5+fPnqRj/1c4GHyNDh6SKaDGHoPzvuo0I66Qs7QClcm+fVTH2 8z2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=grrDb7ph; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=1EjiYV1I; 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 v22-20020a056a00149600b0052e33f30ca2si16907766pfu.208.2022.08.17.04.24.41; Wed, 17 Aug 2022 04:24: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=grrDb7ph; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=1EjiYV1I; 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 S238755AbiHQLPG (ORCPT + 99 others); Wed, 17 Aug 2022 07:15:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbiHQLPE (ORCPT ); Wed, 17 Aug 2022 07:15:04 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F57167173 for ; Wed, 17 Aug 2022 04:15:03 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 5E94E580DA3; Wed, 17 Aug 2022 07:15:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 17 Aug 2022 07:15:00 -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=1660734900; x=1660742100; bh=7/MyY+LBb7 xbVEmhuCyBhoCzY/9cxkCFf1VHHVrX6CY=; b=grrDb7phnJ8YS7DoYmClhDowva mf0hyZG1cElbLmCByi9qZfwQST1mrUurzidSCbpXzLfvUzrbTrOQioCAKC7U2Fwp jm+jENEKf8Vy1T/MorGsNClgSxDglsVgGyCX7UfoFeVFnLOETgr0/p9hs3QB88dR sbSoRPnGd69728/P/mt+7Fh+vWebfjlS/I7UsqjhGtn17DbWdnP/EkpsYqbQNwVv WQtJ4vAXXBVssg+IMz+GS+lG3ddEwQCPDgiFnLFA9ysgfKqwRZXwt8UFyXWB1BS0 kUzrjtDuamQLJjwF4qqcj5aFreTij0nTlG0h1GIxKPYZ2AhmjLEmwgoC2u/Q== 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=1660734900; x=1660742100; bh=7/MyY+LBb7xbVEmhuCyBhoCzY/9c xkCFf1VHHVrX6CY=; b=1EjiYV1IDT9sKd5r3mLzkdKwMFMlonp4bEctBDecRUya ZlpnqtUdldGetHD37riEiUUvZGlMEqu124iAqLMJ5iN2ONf2abY5VWp06pRbQ+/6 6W4ZKgtun/ru5zgTMT/ePki4t9Z1FsEfCzHeI5zEz+PrbhaFCGLsggAXU5MVBu5U +FwyikIohL0SBGOuk1IfHbASHFnJCiOCRnZThfHbBprg6joaAp7F8MNh+k1pj/jf DyTXjPYwQFQehxwbJdfXESh1FquX9og/rEOuQMKCTlBFZrFevsqr6cgA4gaTkM4X WlmugzAHmc7tzr6NIUDl6X9UGByCvf/IOiJ6IMjRHQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeetfefffefgkedtfefgledugfdtjeefjedvtddtkeetieffjedvgfehheff hfevudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Aug 2022 07:14:57 -0400 (EDT) Date: Wed, 17 Aug 2022 13:14:54 +0200 From: Maxime Ripard To: Geert Uytterhoeven 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 Mailing List , Phil Elwell , Mateusz Kwiatkowski , Linux ARM , Dave Stevenson , "open list:ARM/Amlogic Meson..." , DRI Development , Dom Cobley Subject: Re: [PATCH v1 05/35] drm/connector: Add TV standard property Message-ID: <20220817111454.pn2iltvyo2drebq7@houat> References: <20220728-rpi-analog-tv-properties-v1-5-3d53ae722097@cerno.tech> <20220816132040.uwirtjm5yr6rdd3q@houat> <20220816141116.5nuszmilqv2exdb3@houat> <20220816154956.pkdpxmmw27mia5ix@houat> <20220817074710.w4c4xwj7edly2b5p@houat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gu5whptxg6eujuan" Content-Disposition: inline In-Reply-To: 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,URIBL_BLOCKED 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 --gu5whptxg6eujuan Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2022 at 10:35:07AM +0200, Geert Uytterhoeven wrote: > Hi Maxime, >=20 > On Wed, Aug 17, 2022 at 9:47 AM Maxime Ripard wrote: > > On Wed, Aug 17, 2022 at 09:31:18AM +0200, Geert Uytterhoeven wrote: > > > On Tue, Aug 16, 2022 at 5:50 PM Maxime Ripard wro= te: > > > > On Tue, Aug 16, 2022 at 04:43:44PM +0200, Geert Uytterhoeven wrote: > > > > > > > > > Either you have to add them here (e.g. "hd720p50" and "hd= 720p60"), or > > > > > > > > > handle them through "@". The latter would impac= t "[PATCH v1 > > > > > > > > > 09/35] drm/modes: Move named modes parsing to a separate = function", as > > > > > > > > > currently a named mode and a refresh rate can't be specif= ied both. > > > > > > > > > > > > > > > > I think the former would make more sense. It simplifies a b= it the > > > > > > > > parser, and we're going to use a named mode anyway. > > > > > > > > > > > > > > > > > As "[PATCH v1 34/35] drm/modes: Introduce the tv_mode pro= perty as a > > > > > > > > > command-line option" uses a separate "tv_mode" option, an= d not the main > > > > > > > > > mode name, I think you want to add them here. > > > > > > > > > > > > > > > > It's a separate story I think, we could have a named mode h= d720p50, > > > > > > > > which would be equivalent to 1280x720,tv_mode=3Dhd720p > > > > > > > > > > > > > > So where's the field rate in "1280x720,tv_mode=3Dhd720p"? > > > > > > > > > > > > Yeah, sorry I meant 1280x720@50,tv_mode=3Dhd720p > > > > > > > > > > Above you said "I think the former would make more sense", so that > > > > > should be "1280x720,tv_mode=3Dhd720p50"? > > > > > > > > No, 720p at 50Hz would be either hd720p50 or 1280x720@50,tv_mode=3D= hd720p > > > > and 60Hz would be hd720p60 or 1280x720@60,tv_mode=3Dhd720p > > > > > > I disagree: hd720p50 and hd720p60 are different TV modes. > > > > I agree, and I don't see how that command-line doesn't express that? >=20 > Oh, I see what you mean: yes, it expresses that. > But it is inconsistent with the NTSC/PAL/SECAM/hd{480,576}[ip] modes, > where the TV mode specifies both number of lines and frame rate. Only if we're using a named mode, and naming is hard :) Honestly, I'd be inclined to drop the hd* for now from this series. I don't have a hardware to test it with, for some we don't even have drivers that could implement these modes, we don't have a spec to work =66rom, it looks like a recipe for failure :) Maxime --gu5whptxg6eujuan Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYvzNrgAKCRDj7w1vZxhR xZPiAP9cuj5zZR8NRJHbKfFO0mr9fc31dj4wR+Gpelf6U7ZzwQEAvGoAg1Oi6hb0 Hui+aaNLN6Rq3Vi1HR7q65YsP3trIwM= =i1o+ -----END PGP SIGNATURE----- --gu5whptxg6eujuan--