Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3509432rwb; Tue, 16 Aug 2022 04:29:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/Jqxj9M7Q3N/7m/uiONNQ6tZrVP8nH/E1ofEZ2NaBvTfkmRlDT2TTgYmr/U2gsQZ2EuRM X-Received: by 2002:a05:6402:2691:b0:43d:ba10:854b with SMTP id w17-20020a056402269100b0043dba10854bmr18133838edd.158.1660649371214; Tue, 16 Aug 2022 04:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660649371; cv=none; d=google.com; s=arc-20160816; b=xxjx4GofkrZXv5AtxZzJwN+AWVcPpgQUQNIzuFfph1CHEdlOkVtkIagLA4j1X6nU/y 74zDEvvGRv27RYNhHn/4sFsW2rERtp3hPsKUxOrdInXg8c+Ebl1LXQymTmGsLsFEKT+4 /BkqxD7DHGe1cpATI36zmhYEgUxvjsH67SLhG0gZrPi9U0Z8npINYsffJMQEhyYTmZFB 8nzLAgzkqOsdVdpw5XM+WZV6iKfrA5Bdkk9Gbhk8MEScce0KV8ce1ku6T5Sauvycn6Nu pkzyya0E5z/gQSIBWifs8kaacMNfknMNmp2lMxXO3ADOXlSd9H2GKGYmt5SnFQY19EhY uc+g== 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=LDg0F/tdWmuuX+5Y52zO8Sqcm7DQL0YcyaqGkQk8adc=; b=eqHTAT10aE2+wGDHWcyvU59rjAIDMnQACo4w/wHnjx/tBHfKSieCrDyE6S0ltxL1lh s6PXCba/u5PGAhXdKun/EH5zf0EweqetBDopGfPkiQbeGvqD6i68AQemo6CwbTSWDAf8 iuqBtlnPiBNzho1mezmKflKRUr9Ekvz5Tv3TE++L6npawCNg8l3AlAJ1GJA47ptoHCvY 0dWbdIiuN0xWvIo2m7tIBqUkikyYuJqUjigF3YL3Km/1E7kv00BTC19pbJSAUh3kcrO3 lEYbKOOpwf+qO4curDiI+o7VhozBhIbrt/9UoalmrMYy1GhuOGECgaj1NrPY9KGJ/7sN y0Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=GPpFjSOr; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="3Ax3i/fr"; 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 c19-20020a1709063f1300b0072b4f1c6680si9705357ejj.75.2022.08.16.04.29.05; Tue, 16 Aug 2022 04:29:31 -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=GPpFjSOr; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="3Ax3i/fr"; 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 S233487AbiHPLU5 (ORCPT + 99 others); Tue, 16 Aug 2022 07:20:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234381AbiHPLUA (ORCPT ); Tue, 16 Aug 2022 07:20:00 -0400 Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F409475FC1 for ; Tue, 16 Aug 2022 02:49:31 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id B14432B059FF; Tue, 16 Aug 2022 05:49:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 16 Aug 2022 05:49:28 -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=1660643366; x=1660650566; bh=LDg0F/tdWm uuX+5Y52zO8Sqcm7DQL0YcyaqGkQk8adc=; b=GPpFjSOrwZxIYxYGAXsZL6mHjD WbjU9v6Cap1kKGhAEqkg57BIGNOPRu2hyTIbMt7feU6DsQpypdeWuoTEyC/buFjX rk2MONDaPv9NB3Ig+QokHa5oA98ZpWJoXyFA2tcQfUcu5t+1S+oedTww0kKzo7NU yaPmk8EUfi4c2+xNI0YjM1CXGv22lWemlWZl8x5QSycKGykmDH13U0fI3PDII043 YpYk8UEsy4wk741tnCqA/AvXdH8FUCixrYVSLAe5BpFwv1Fcrvhf/8diiRG5Eu8x otMOeoTcNjVRrlmwMvQ5K4xRMgRq1TphmgdkW6PUa8eeezdDTJy7rz/q1Rwg== 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=1660643366; x=1660650566; bh=LDg0F/tdWmuuX+5Y52zO8Sqcm7DQ L0YcyaqGkQk8adc=; b=3Ax3i/frWA1OJ/WVrRDv96/pDYIOq+xB3sBoWFdH93O/ d+E8N3D5uiix0u5hIsoOzu1B6xy1iuXInlcuUTOQwWfP4rghbaotNkEukW6wnxZz 3zNWdBo34rrVe2jpV7L+epwEr0ke9uBhMVc3Hh069JCweIrJuRPkMu0ecjkTisvI RE4hGsBf5hCU1rE2ChO8nndii3HbsP2eMrL8ty45mv/HhGxkftE/RJUS18iP9QnX G6+f6O2nisM/yWvQ19b+sAuJDAMHaskW1WkltLGBUhmrJJ4kPHuqe2so1lLne4XI vIE45/4Q+Wc6+MMPDs5WPDbVOWzvXD2mL13r0G6i+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehgedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpedukeevvdehheeuhefhhfefteeiffefgeffuefgkeetffevgeevgeejteei gffghfenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhn ohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Aug 2022 05:49:24 -0400 (EDT) Date: Tue, 16 Aug 2022 11:49:22 +0200 From: Maxime Ripard To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Cc: Jernej Skrabec , Martin Blumenstingl , Chen-Yu Tsai , Philipp Zabel , Jerome Brunet , Samuel Holland , Thomas Zimmermann , Daniel Vetter , Emma Anholt , David Airlie , Maarten Lankhorst , Kevin Hilman , Neil Armstrong , linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Phil Elwell , Mateusz Kwiatkowski , 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 05/35] drm/connector: Add TV standard property Message-ID: <20220816094922.oqhrhefv327zo2ou@houat> References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-5-3d53ae722097@cerno.tech> <9fdecae2-80ad-6212-0522-7dccf9fb57be@tronnes.org> <20220816082612.grebxql5ynnfnvfd@houat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wxlquavc6w2uimy2" 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,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 --wxlquavc6w2uimy2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 16, 2022 at 11:42:20AM +0200, Noralf Tr=F8nnes wrote: >=20 >=20 > Den 16.08.2022 10.26, skrev Maxime Ripard: > > Hi, > >=20 > > On Mon, Aug 08, 2022 at 02:44:56PM +0200, Noralf Tr=F8nnes wrote: > >> Den 29.07.2022 18.34, skrev Maxime Ripard: > >>> The TV mode property has been around for a while now to select and ge= t the > >>> current TV mode output on an analog TV connector. > >>> > >>> Despite that property name being generic, its content isn't and has b= een > >>> driver-specific which makes it hard to build any generic behaviour on= top > >>> of it, both in kernel and user-space. > >>> > >>> Let's create a new bitmask tv norm property, that can contain any of = the > >>> analog TV standards currently supported by kernel drivers. Each drive= r can > >>> then pass in a bitmask of the modes it supports. > >>> > >>> We'll then be able to phase out the older tv mode property. > >>> > >>> Signed-off-by: Maxime Ripard > >>> > >> > >> Please also update Documentation/gpu/kms-properties.csv > >> > >> Requirements for adding a new property is found in > >> Documentation/gpu/drm-kms.rst > >=20 > > I knew this was going to be raised at some point, so I'm glad it's that > > early :) > >=20 > > I really don't know what to do there. If we stick by our usual rules, > > then we can't have any of that work merged. > >=20 > > However, I think the status quo is not really satisfactory either. > > Indeed, we have a property, that doesn't follow those requirements > > either, with a driver-specific content, and that stands in the way of > > fixes and further improvements at both the core framework and driver > > levels. > >=20 > > So having that new property still seems like a net improvement at the > > driver, framework and uAPI levels, even if it's not entirely following > > the requirements we have in place. > >=20 > > Even more so since, realistically, those kind of interfaces will never > > get any new development on the user-space side of things, it's > > considered by everyone as legacy. > >=20 > > This also is something we need to support at some point if we want to > > completely deprecate the fbdev drivers and provide decent alternatives > > in KMS. > >=20 > > So yeah, strictly speaking, we would not qualify for our requirements > > there. I still think we have a strong case for an exception though. > > Which requirements would that be? The only one I can see is the > documentation and maybe an IGT test. This is the one I had in mind https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#open-source-userspac= e-requirements I overlooked yours obviously, so I'll update my patches to fix it. Maxime --wxlquavc6w2uimy2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYvtoIgAKCRDj7w1vZxhR xdmCAP0TxNLQ337aCmZF1DrZ9PxgyCBlNhBMtaDX8zJsaRfqJgD+Kw7tZK+ncFk4 xnge3+28RfIGi25dtfBBzpr7m1dc6QA= =aMK2 -----END PGP SIGNATURE----- --wxlquavc6w2uimy2--