Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp622664rwe; Thu, 25 Aug 2022 06:32:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR7IZOv8wGyVQk0vtYZnte5kBA2mn0o2S+9jgdCwau3HANqRCyjL+2+wpwyjBlWucNPtGdf6 X-Received: by 2002:a17:907:b0c:b0:73d:dc7f:4b8 with SMTP id h12-20020a1709070b0c00b0073ddc7f04b8mr644140ejl.183.1661434376267; Thu, 25 Aug 2022 06:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661434376; cv=none; d=google.com; s=arc-20160816; b=A/WYFzf2J5gOBnAuAg6um4HqRFiQQqnjBnhsRMs1f2MfSckJf5dj+Rs5/wzygHaSMz NkWvcu7mQwzetaf5ztECCaQCnRzjCXEVm0js7Gz57GTXH44LwvnaObPTO2DGmfwv5k/i m+zJwXTBWxGH4wbSJdIL++6/oIjzFHMw/NytmZsKfttTwsSwlcIyS1cjFDnQV0RRCzQV O56V6QM6ifaX/YeoK3ZoRbxYeWZlEStxCFoyzavjn9XtT6QNYIboGts/mc2WPzcHx53w RMQxEPjKNSAYX1HTdEmASEVkGGf911bPUKVuLfbYzReTv+XCzHSdLRExIPLbgASRXonR hJxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=xCMa+Y2jIKgZ56OuN/h0oLf2cyBRDehvHfcF2kieVHM=; b=ev/futSOtdIJhpUCIPI9igLusB6AEeZlWGkUfM+6Mle9Y3L8n3oN2hED/nBH0zUOyD KFnuetxAwvtebq/3OQxYWlLKMWY6XtlFp8llWZFId6EGOYutO76ZY02rM+ViVv7mjjHx S2c4N2x+sQHPUINpsBZFTcTuTdmUazK6XjZVv8ijgN8KtRjoG+zKezibrwhsaER+m2O8 D9P7VscWvlMQQ2EhqUHmXYY13jmV3TPjRyyJ2UvabePQILsjr+86sFCRKeEZ4/s02rZt d9r/2CABFoFx2YBf+oSwMZq7MfHh0qsPpx/9yJ4qLOfWV2zPYdBsq+iobs6yY1M6YVtv NOAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=gtp5fNPa; 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=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd17-20020a170907629100b0073d6f4d44f4si1267666ejc.862.2022.08.25.06.32.29; Thu, 25 Aug 2022 06:32:56 -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=fail header.i=@tronnes.org header.s=ds202112 header.b=gtp5fNPa; 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=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241169AbiHYMln (ORCPT + 99 others); Thu, 25 Aug 2022 08:41:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236917AbiHYMll (ORCPT ); Thu, 25 Aug 2022 08:41:41 -0400 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 409B52315A for ; Thu, 25 Aug 2022 05:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202112; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xCMa+Y2jIKgZ56OuN/h0oLf2cyBRDehvHfcF2kieVHM=; b=gtp5fNPa37EZTLE4UGvnHplqbA vyMYlZGWuG6x/vlNK5aG2I5bnpXR++EbUNXT5tssiuWTzKYGbg/uDWZJyWkScURq7WSC91GXEypRb msmYY5Vtm/smg/6qT3kp3/NM+rpKf/Zoo6+pVoVy5NgLXszqvnDIzv7NCZPoHhaw3tEQMyx0T9QWj wbSFrbvlHvg0lTIOcpEKPzF60IulT6FyItMHYnBJryjafFhRX/FNOBFHa2MjE0CZe4gxZiQMhS6Vv 2putyWLiHBGSPlKbLugUZIQCCxB6ySVfyRE0AY7mv9qlkRambhZQ3Bznh1FE0CjI/PFnHyR3kZHCT bHMHsv1Q==; Received: from [2a01:799:961:d200:cca0:57ac:c55d:a485] (port=62698) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRCAx-0005T0-Nh; Thu, 25 Aug 2022 14:41:35 +0200 Message-ID: <3cc08f9d-9f01-b771-c16f-ea95acd7e7cd@tronnes.org> Date: Thu, 25 Aug 2022 14:41:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v1 34/35] drm/modes: Introduce the tv_mode property as a command-line option To: Maxime Ripard 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 , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-34-3d53ae722097@cerno.tech> <20220824154543.bdtpz2evwzsjrdrz@houat> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <20220824154543.bdtpz2evwzsjrdrz@houat> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,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 Den 24.08.2022 17.45, skrev Maxime Ripard: > Hi Noralf, > > On Sat, Aug 20, 2022 at 10:18:47PM +0200, Noralf Trønnes wrote: >> Den 29.07.2022 18.35, skrev Maxime Ripard: >>> Our new tv mode option allows to specify the TV mode from a property. >>> However, it can still be useful, for example to avoid any boot time >>> artifact, to set that property directly from the kernel command line. >>> >>> Let's add some code to allow it, and some unit tests to exercise that code. >>> >>> Signed-off-by: Maxime Ripard >>> >> >> In the subject it says "tv_mode property", but the property is called >> "tv norm", so the option should be tv_norm? > > Yeah... I don't know. mode is taken but it's obviously the best name. So > I went with norm to avoid the (internal) conflict but I left mode for > the user facing property. > > I'm not sure what's best here, or maybe we can pick another name entirely? > Why not just call it "tv mode" or even better "TV Mode". The state member can be called tv_mode, but the mode_config member will need a temporary name until the "mode" property is removed. tv_tv_mode or maybe connector_tv_mode? But IMO, if there are no users of this property, adding it should have a drm maintainers ack. Noralf.