Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2117615rwd; Fri, 2 Jun 2023 05:14:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6AUJP/kHXMHiJIGOidXle1oM5DRiNWuCSnh/pbv02I3XabeTZMUhyGm9ICPmksPLfxZsjz X-Received: by 2002:a05:6a20:3ca7:b0:101:5037:7542 with SMTP id b39-20020a056a203ca700b0010150377542mr9704552pzj.10.1685708093483; Fri, 02 Jun 2023 05:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685708093; cv=none; d=google.com; s=arc-20160816; b=KF4hU719jAsQY8JefefU6ACYFHLOxTdZP0oLGPsw/LW2KwBfd52+M0Hm7d/tHBYobd v0hCXxnPI/59g3zMQcWpDSyle1UAfecMER2sODUeqibMTH5ZNjeWM7AwJ2trwtRLNtnk D2lqiPR4g+cklStck1UjL/Vx9oPSKbvixcIvwvoOItGRBhgyRkGsC3FVv5ew7FQmHHMk cl7bJQEOSsGCmdgqTuJ2Rg09SISejqV9Sza31LFDjzQDhGvfPkIHEk1JuPEWLzuilMPk MXVg3S59YUOdLUfkJXRuNJZYFxh9nK/ddkqRyRSyq10dh0OIKZwkG+3k0RPLv13UHJ26 QTmg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Iyx6bs+3c7wkJq1ETn/ztlIqlwMILVscfH9NQ0C0pU0=; b=IvqqZLvfYNQ6Mw6RADN84qVF/nw5gcDeSaiCpvH0JnzigsTgaXuPOqp2YJmJHFGQ2N m+xd18160Xpr6tV0H0qo7FvNtP7EMIazJ7zv26rd+M0Yty0CKLHWhfCTlyKjnqMsdTWE DSvB4HL9REc7dorKrPYVKVOAmMHoRKNBEAw505KsF+WIHjhAhievVfSWYDRaGpipUU8X WyMUfIX1fKhcm7c8CsajjXzMOorJRe+udo4YSuDbRGZuKYVBCf7rALGgbCXvCAwT8q4K JQJSyXrVi/VcGLPra+oeZ/MTsqQZLRc+BB5x993+YdpZwvh+lcFa1avjavp7R1r5hMdg RARQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZXkiKfg3; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w29-20020aa79a1d000000b0064feff07372si657444pfj.195.2023.06.02.05.14.33; Fri, 02 Jun 2023 05:14:53 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZXkiKfg3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231876AbjFBLgw (ORCPT + 99 others); Fri, 2 Jun 2023 07:36:52 -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 S232455AbjFBLgv (ORCPT ); Fri, 2 Jun 2023 07:36:51 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77313194; Fri, 2 Jun 2023 04:36:44 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126156168104.26.openmobile.ne.jp [126.156.168.104]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 443CE6E0; Fri, 2 Jun 2023 13:36:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685705780; bh=P6UK7gokiOdLMcgnQqxLjRe/2stcZX5OnfxLzLL/M8Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZXkiKfg3l/3Zn5Hs1rF1UqizLbyGjOovKGO5nYDa5CsXVzIhgdO0OuBQ8YgdHm38X Bxyh7d0X1/u80DgGvAuskxBTqQBbfDqWu2lEb7bY4nexWJTb+xXsdfxHTwRxJXd7mU s+9jbaqSxFpevXaFdQHCREWYp9j9SBrCMzFprxoM= Date: Fri, 2 Jun 2023 14:36:40 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , Jyri Sarha , Tomi Valkeinen , Biju Das , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] drm: Remove references to removed transitional helpers Message-ID: <20230602113640.GG26944@pendragon.ideasonboard.com> References: <14e091fc522aa63a3e33bda1016e5fa946d47d18.1685696114.git.geert+renesas@glider.be> <20230602110459.GC26944@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Geert, On Fri, Jun 02, 2023 at 01:17:58PM +0200, Geert Uytterhoeven wrote: > On Fri, Jun 2, 2023 at 1:05 PM Laurent Pinchart wrote: > > On Fri, Jun 02, 2023 at 11:11:35AM +0200, Geert Uytterhoeven wrote: > > > The transitional helpers were removed a long time ago, but some > > > references stuck. Remove them. > > > > > > Fixes: 21ebe615c16994f3 ("drm: Remove transitional helpers") > > > Signed-off-by: Geert Uytterhoeven > > > > --- a/drivers/gpu/drm/drm_plane_helper.c > > > +++ b/drivers/gpu/drm/drm_plane_helper.c > > > @@ -51,14 +51,6 @@ > > > * planes, and newly merged drivers must not rely upon these transitional > > > * helpers. > > > * > > > > The first paragraph starts with "This helper library has two parts.". As > > you're dropping the mention of the second part, I think you should > > rework the first paragraph too. > > That was my initial thought, too. > However, the code still has a second part, not related to the topic of > the first part (primary plane support). How about mentioning that in the comment then ? > > > - * The second part also implements transitional helpers which allow drivers to > > > - * gradually switch to the atomic helper infrastructure for plane updates. Once > > > - * that switch is complete drivers shouldn't use these any longer, instead using > > > - * the proper legacy implementations for update and disable plane hooks provided > > > - * by the atomic helpers. > > > - * > > > - * Again drivers are strongly urged to switch to the new interfaces. > > > - * > > > * The plane helpers share the function table structures with other helpers, > > > * specifically also the atomic helpers. See &struct drm_plane_helper_funcs for > > > * the details. -- Regards, Laurent Pinchart