Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4707295rwb; Mon, 8 Aug 2022 05:56:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fOhp5sadKibaMEQKaVNw1luewfXEg6tnnechXVBF0SjaBCBWPmnPf0ySbLjAFP++s7Hl0 X-Received: by 2002:a17:907:7634:b0:730:c378:b86e with SMTP id jy20-20020a170907763400b00730c378b86emr13783321ejc.647.1659963418846; Mon, 08 Aug 2022 05:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659963418; cv=none; d=google.com; s=arc-20160816; b=SksuZRRgu+5PQYe91hzvVie8BBvxEawnc35mqg2P727shIa63SuZJsHELJnjqPr1fc m5oNdeZEZ4Sk8zj7qp88tcBlWCvJLCee5Xifym/3f8+hERUJN20lJHse/3LBYF24b/ra sAti+sIpVVf6eYETG9R2Hdz65rYoIi0PvyIGz2EJyKC3BNUipU/p0OrcDWCgHyj7/yY5 wR1e3zoKjuJf7H5LlfQThUCQeX3yvgKeYxj9Xlmjn8jo0bXNFKHEFFtVUZWqrz+YmDgv 5j1grtUUO6atOSh+QYCQOKkzNQYqfBonTQF14YUMnEz4FevB8JfnrZzDKSR1kiPUBXi1 8MUA== 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=v49Gv+vvLdx2K8EmwF94ITIRDlwX8hbS7d3UiPb1pM0=; b=QkLh8a++nXDQ2oDjt9J2VNDkEWCGEgtDm4vhb1MLqH78BhdqHKL1EfWH1iDIX9S3aJ HhVzMyxNzRazHlF7CGIRJOvj6rIMaJ6zNZC6MSIJpKdu/xY0ES9GLeHjs7TWO6uTDjR2 ZeVTA42QexI6V2tKRV7JbQ28bhgoEfns0DYtoSGqH1D52RXgsGKT10oBnltoEJtxnxCc aQ/UiyFVEM9ooGKOMr9EhlSCRo5LFmtITytGP7KYmr9WYV5JwtQ2W3BTYcPst3TcqD1X 3Tv7YoSwcs0ZiXcOx0vpONBUcsR6bEr8XYWK1yOcUYkxyoH7MlLokTSGzx/sxzAulMe9 94YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=qr4XgPyp; 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 sc19-20020a1709078a1300b00711988b5919si10760263ejc.810.2022.08.08.05.56.33; Mon, 08 Aug 2022 05:56:58 -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=qr4XgPyp; 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 S242158AbiHHMZr (ORCPT + 99 others); Mon, 8 Aug 2022 08:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242788AbiHHMZq (ORCPT ); Mon, 8 Aug 2022 08:25:46 -0400 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45973634B for ; Mon, 8 Aug 2022 05:25:45 -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=v49Gv+vvLdx2K8EmwF94ITIRDlwX8hbS7d3UiPb1pM0=; b=qr4XgPypiXoBj/EGs5WV0wPjUl Nm//fZoqFvDP4KJ7stWC6EZH8lS3KZAVLRztAS215esJhmOH71vRxOoKydxK0vubFnolyzYbLf1Kd erG+gveaYm54y+J6TWgEx9dUiwtGZy47rZRNgE5nvDfgF9OXZVLRxS6I+NPrV56XUhCl/xyT5JAaU uvutKHw7fytMD/AA38WxKcsTuhzuxobpDTVjeAt6G4qtbKcK+XQOW8m1vfy7gMOxaP/mlEt/juiCN iMsIr/HTF46es8F2dboXYr/sfQAFhCpLo+tlz1XFxfhK36YLld+PtctnTvDRLgA5MmsoiiMfnMzgy Jekey9ZA==; Received: from [2a01:799:961:d200:fd91:af1e:9da7:f964] (port=64062) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oL1pF-0005Gv-RZ; Mon, 08 Aug 2022 14:25:41 +0200 Message-ID: <633ff81a-8fe1-da85-1235-18d14aebf6b0@tronnes.org> Date: Mon, 8 Aug 2022 14:25:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v1 01/35] drm/atomic-helper: Rename drm_atomic_helper_connector_tv_reset to avoid ambiguity To: Maxime Ripard , 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 , Maxime Ripard Cc: 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 References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> <20220728-rpi-analog-tv-properties-v1-1-3d53ae722097@cerno.tech> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <20220728-rpi-analog-tv-properties-v1-1-3d53ae722097@cerno.tech> 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 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 29.07.2022 18.34, skrev Maxime Ripard: > We currently have two sets of TV properties. > > The first one is there to deal with analog TV properties, creating > properties such as the TV mode, subconnectors, saturation, hue and so on. > It's created by calling the drm_mode_create_tv_properties() function. > > The second one is there to deal with properties that might be useful on a > TV, creating the overscan margins for example. It's created by calling the > drm_mode_create_tv_margin_properties(). > > However, we also have a drm_atomic_helper_connector_tv_reset() function > that will reset the TV margin properties to their default values, and thus > is supposed to be called for the latter set. This creates an ambiguity due > to the inconsistent naming. > > We can thus rename the drm_atomic_helper_connector_tv_reset() function to > drm_atomic_helper_connector_tv_margins_reset() to remove that ambiguity > and hopefully make it more obvious. > > Signed-off-by: Maxime Ripard > Reviewed-by: Noralf Trønnes