Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2233012rwb; Mon, 15 Aug 2022 01:07:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR7WuCQCdslllX/o7Ect95TwtKndtasGK9LKoSnVDeit04QC+3R79Aez0+TN3aME3tiVpNIo X-Received: by 2002:a17:902:cece:b0:16e:d4c3:5894 with SMTP id d14-20020a170902cece00b0016ed4c35894mr15444597plg.154.1660550842050; Mon, 15 Aug 2022 01:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660550842; cv=none; d=google.com; s=arc-20160816; b=C+VXjKZipVaxKBAot8m/cI/LLHU0PXgTkLl7mx6NWm6Db4A2mMu1mUZbbvfNaRW/Pf w/WBWB1E0snPwu8dxk+CEH4QvPrwJ1zf20obWIaastjEodc4FsvLqd676pHdO7quBIN5 TCirmM2sb8Ov8k5A1/8xHZr8vO0Q6ggEgQUir4OUWko10Zh56OyriTRZxvsNGTHgVANm pr/UDVR2FHXHIX31nS+EUoVMue9m0rsbwP+Dse5Lp1tuM+wYkRwrq7tyURtOEyG02hVK kLrGyrqIg06zzWB/ROrB3XI9l4aaBQ15GlmzlS9eSZTthlMZddak3bNPB9LCRc6efInR 7J5w== 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=w9cQgkryOZrTMuW8XbykeJZc+OJXgmDOa/70G6lboNg=; b=K5BnYrTAcrJ7bBZqGVveuXqoCXjTqPHybAJ0XwZLmFflWxffN75X6JyK8xdBtTA5Gd +oDhRAJkD5KUbp/WUk/lzs7GuxH1IlWbw0HLkseJGoT4ZJI2PGcGJbSHbcJ4SHUqoq6d mDhmMf4uxjcgpd1NwlObbEuO5ZKG2HAAI4MU8DEkSUurxQ5tkop75Ght38xCwMoqoxKL sm+inw5zmwHL+rvZI9JwdRyIpaE3qqWhYAigBoM+e7T2GZJAJskIOXExjiAxR0Vcprgu Hzi7QtKhLdOk8MwP/hyIzGC81LmgnZcmINTq8JktWFuRM0DQ0gtgaLAzAd4CFP69uTVp erPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=a5Ds27l9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EtirkQGR; 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 e12-20020a170902744c00b0016f1eb1317esi8810293plt.471.2022.08.15.01.07.11; Mon, 15 Aug 2022 01:07:22 -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=a5Ds27l9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EtirkQGR; 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 S241327AbiHOHfy (ORCPT + 99 others); Mon, 15 Aug 2022 03:35:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232365AbiHOHfx (ORCPT ); Mon, 15 Aug 2022 03:35:53 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE17F60E6 for ; Mon, 15 Aug 2022 00:35:52 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id F351C5804E8; Mon, 15 Aug 2022 03:35:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 15 Aug 2022 03:35:50 -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=1660548949; x=1660556149; bh=w9cQgkryOZ rTMuW8XbykeJZc+OJXgmDOa/70G6lboNg=; b=a5Ds27l9BT9gOjMBPCN8BzkuxZ JYLjsFx9gxDEY5jvI8+yLp7UJhD8WWmUdMHgdMOd1+jOTTL6z6nO8sE7C04QdVFr WKsmIChwrzUXFabb1EMJXVQUvs36XecJXmNqauTih8YUfEcCmz9tGvqhOxKqqKcj V8PxpauTR8IPSeHQMXP8A1pOzhALkkV1LapqiQ18CfJBZ5Myw3Oub8ZkCER5t6de DGF7ZEZAWC9+fYOH2qU0+/iopU/2mhJ+BdQA+1f9d3uq5a0rZ+HwzKciVD4pdXgQ leyj4feuLXBwYeqpUYKFT7cHsJfnGIXzODBJ4ELoFiRSvbxzpycNVsH8UrUg== 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=1660548949; x=1660556149; bh=w9cQgkryOZrTMuW8XbykeJZc+OJX gmDOa/70G6lboNg=; b=EtirkQGRowRlx/E866o7sqMqyKYnM9kxioAwm+IzTakk qlysK9fam5BbvguehMYjkavviohBTL9rUlcSWF2QqgNO0MugdbsK1LeJVco4qE7z yuHH7FtGIqkC0iPFYWP3Zju9/czFX8FIaPHUOv17FKKmKwI0HDJ+gjyObV+csWXM B6XLw8tA4p4xn1EgA3TC4FfCsCMOEYtEgaoPMf4Ws4DyenyhpoE/C3YkXYJUGQBA xbuxhiYH+MYXdh4rLmhAfUSRRDZzxQRmVesNvIjYZwZlgRZQIBjq5hnm1zu8uc7H cNAC7YU2FuVXeXa2CE5pv/tdOanE4QGLbhHMLc7yAA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepieehffffvefgiedthfeiieeutdfgffekhfehgfehgfeiuddutdfftdek ffehheevnecuffhomhgrihhnpegsohhothhlihhnrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordht vggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 03:35:48 -0400 (EDT) Date: Mon, 15 Aug 2022 09:35:46 +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 03/35] drm/atomic: Add TV subconnector property to get/set_property Message-ID: <20220815073546.4isrl7o3bt5g23pk@houat> References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-3-3d53ae722097@cerno.tech> <6e47ce2d-25c7-7254-703d-2a1d3bb64373@tronnes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u67ey6tc73oyu5na" Content-Disposition: inline In-Reply-To: <6e47ce2d-25c7-7254-703d-2a1d3bb64373@tronnes.org> 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 --u67ey6tc73oyu5na Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Noralf, Thanks for your review On Mon, Aug 08, 2022 at 02:30:42PM +0200, Noralf Tr=F8nnes wrote: > Den 29.07.2022 18.34, skrev Maxime Ripard: > > The subconnector property was created by drm_mode_create_tv_properties(= ), > > but wasn't exposed to the userspace through the generic > > atomic_get/set_property implementation, and wasn't stored in any generic > > state structure. > >=20 > > Let's solve this. > >=20 > > Signed-off-by: Maxime Ripard > > I just realised that this and the select_subconnector property isn't > used by any drivers. Do you plan to use them? Maybe they don't need to > be wired up at all. I'm not sure really It's true that the subconnector and select_subconnector fields in the TV connector state aren't used by any driver, but the ch7006 and nouveau will update the property content through a call to drm_object_property_set_value https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/i2c/ch7006_d= rv.c#L217 https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/nouveau/disp= nv04/tvnv17.c#L185 I think it could still be useful to report it in the connector state, if only for consistency? Maxime --u67ey6tc73oyu5na Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYvn3UgAKCRDj7w1vZxhR xbmZAQD5nsl1fKLqTQPIrC0VdS9xyWDxecKIIygi1DB180AxtgEA6DpFUfV8x3sb JZ8Mmo3OvmOSy7NnGeEzHLlA/1/Mtg0= =joBf -----END PGP SIGNATURE----- --u67ey6tc73oyu5na--