Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2902118rwd; Fri, 16 Jun 2023 09:33:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4bPKn3msZnojWzWiaN96KWQY+KZt1AK7G/CBBlb14lrehY7vKRzmgtGDHhfGdvWqxr+R+N X-Received: by 2002:a17:90b:4d91:b0:25b:d596:fd1d with SMTP id oj17-20020a17090b4d9100b0025bd596fd1dmr1840022pjb.22.1686933219819; Fri, 16 Jun 2023 09:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686933219; cv=none; d=google.com; s=arc-20160816; b=s1hylzacjQ5M7xNeTjQrHGoXIauv0Ii/ToZWbIjyq/yYCtQ1V7aoRHaDZTECtBD4QX OCDHnmJIl0hJXpZYX+Stg26+PC+m82buxmu+FL7GygiXbA0PNBG/kk5PlEWxG01IWLkx m3Es74UcQXj6FsN1dyg5k3pC28DkqU8GAYGEnmpR5+Mbb+WE52ImeP54GXipHIk7NJDj tOKSj9I+4JqWOlEl1NnbxtK8EMPZ+7+PrruMGu0TYu/wDuKo4vK4SiayHC396NgxxX4O 6Fy596lUnZKGXzWlvDGlLdkU1t82MoleuzIVUXUAfH/Xh2Qm8iO3Qyx5OJdu1wrwFxHF O8kA== 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 :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id; bh=giHOBxGWrWHMKv25XEDDW1HG8A+TY61Sc7f7h+C/TQ8=; b=vUcznpi7Dw1KT3Iq37plEdVQkG3+bv2ZuO1sdTn86XKpZ6uJYz6N/iPvPkV9bvbgkl mckzYpniALriMXGf2B8Kh+dkxr5r7x7kv3YUJJG9lctnyMD3h4gHmnko+Rd4hfSGlXHQ c29cIfN9bSxZd753DKrnnAdo7JGJ14DO2lofUlQ2TWC1/g3LudWuBBrgBQBzrq3TFrYj T91ac2C9XB1oVTQlCCvXIASzup2NqToh5fsUBt7cWVNfkSxuf1OycHHrpLlXHfb6bYvs 18TakbUWdeAszKK+9jtg92cai65dNaQw1K0knC04UmlXAgzo/rJ0uDjYrwHfbNJWib8E Q3Iw== ARC-Authentication-Results: i=1; mx.google.com; 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 6-20020a17090a190600b0025ec4206a7csi585567pjg.169.2023.06.16.09.33.23; Fri, 16 Jun 2023 09:33:39 -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; 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 S1345272AbjFPQRm (ORCPT + 99 others); Fri, 16 Jun 2023 12:17:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345115AbjFPQRU (ORCPT ); Fri, 16 Jun 2023 12:17:20 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 667B64209 for ; Fri, 16 Jun 2023 09:15:21 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8Ax0OiWioxkGggGAA--.10931S3; Sat, 17 Jun 2023 00:15:18 +0800 (CST) Received: from [10.20.42.43] (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxG8qUioxkI3EdAA--.9038S3; Sat, 17 Jun 2023 00:15:16 +0800 (CST) Message-ID: <4839a7e1-179f-02ab-0679-44aea09e1946@loongson.cn> Date: Sat, 17 Jun 2023 00:15:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: drm/atomic-helper: Update reference to drm_crtc_force_disable_all() To: Geert Uytterhoeven , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sean Paul , Alex Deucher Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <87ece3775c9491fb2173f3bbe96cbe407b8ae756.1686923622.git.geert+renesas@glider.be> Content-Language: en-US From: Sui Jingfeng Organization: Loongson In-Reply-To: <87ece3775c9491fb2173f3bbe96cbe407b8ae756.1686923622.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8CxG8qUioxkI3EdAA--.9038S3 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7WFyfKr1xuFy8KF1kWFWfJFc_yoW8Xry7pr W7AryUtF4Fqa1qqasrXan2q3W3Ga13Aa4Igr4kG3y3ZwsI9r97XF18Xw4FgF9rJr1UGr4f trnIy34Uur1jkFbCm3ZEXasCq-sJn29KB7ZKAUJUUUUf529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUP0b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Jr0_Gr1ln4kS14v26r126r1DM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2 x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1D McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7 I2V7IY0VAS07AlzVAYIcxG8wCY1x0262kKe7AKxVWUAVWUtwCF04k20xvY0x0EwIxGrwCF x2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUAVWUtwC20s026c02F40E14v26r 1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij 64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr 0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF 0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU8Dl1DUUUUU== X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hi, Nice patch! By the way, thomas also fix a bug[1] by calling drm_helper_force_disable_all() function So this function seems useful. It deserved learn for a while. :-) [1] https://patchwork.freedesktop.org/patch/541906/?series=119144&rev=1 On 2023/6/16 21:54, Geert Uytterhoeven wrote: > drm_crtc_force_disable_all() was renamed to > drm_helper_force_disable_all(), but one reference was not updated. > > Fixes: c2d88e06bcb98540 ("drm: Move the legacy kms disable_all helper to crtc helpers") > Signed-off-by: Geert Uytterhoeven Reviewed-by Sui Jingfeng > --- > drivers/gpu/drm/drm_atomic_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c > index 41b8066f61fff4be..292e38eb621806a0 100644 > --- a/drivers/gpu/drm/drm_atomic_helper.c > +++ b/drivers/gpu/drm/drm_atomic_helper.c > @@ -3332,7 +3332,7 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all); > * that also takes a snapshot of the modeset state to be restored on resume. > * > * This is just a convenience wrapper around drm_atomic_helper_disable_all(), > - * and it is the atomic version of drm_crtc_force_disable_all(). > + * and it is the atomic version of drm_helper_force_disable_all(). > */ > void drm_atomic_helper_shutdown(struct drm_device *dev) > { -- Jingfeng