From patchwork Wed May 17 07:41:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng X-Patchwork-Id: 95093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp844613rwl; Wed, 17 May 2023 01:08:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5eoUvM7gFYgQ0Q+lox+HsydwR7sT4ADB2cvaPzs2TLWgVqcjuXNKfQ/Vm7YpNONlP/Ager X-Received: by 2002:a17:90a:65c6:b0:24e:4b1c:74d2 with SMTP id i6-20020a17090a65c600b0024e4b1c74d2mr40394424pjs.32.1684310920549; Wed, 17 May 2023 01:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684310920; cv=none; d=google.com; s=arc-20160816; b=a/H5Ly5V5i/UFk5IcM/9ucm5BdiNxo87MK+6gjTOTU/MDV395nqdZ3f6wL5Hvofj3z 1rNPmuIKaNYFtAbUwkqwwRKGK3gLoWnstA4kcY7qyEp49v8uXiO/fyU6+oNnlV1fSz8w AAyLckJs5RvqJ3a0+PK6cIaJmdtQEDrVxyG/008m/EGwzlNQOYVUCaPfk5zIedRrKdIW DAQsoiF3NEuD/jJX5k0hj8Dc7kDFxyIHJdekMzSaC85Bw6gyijGmNnZ+TXoMmm5TDvg7 vF+sUu0hVNeuKphVq/UZv2RFvmNH1ucVBriwEbmK2iEYeMWNZ/n+npXRmt9pO35vp5RI HiKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Pde4ZlWzBqTTaITMYE0OiQDCWq4SEN9HT/1aMro8OCM=; b=AK+B9aQHWRFFZuS0RdXt2vv49RbJ6LgRcFOOVTMPhMgxAHYxLkunY2pV2RYgdx23j8 S8p6C7wGL2LCbXnnZzUPv4BI5SX/kKEjg0fI1RwwpwvxGQZrC9tYNGx3z9izczmqy4tM vfpIrjpZPC+JT5QZHzojTFXjBuGAL8JDZgCSy+qnU32qCuXB1nv6agIiFzhwj8zSww8p YpEi04ve/sraPwYx01uuTX+PzxEV5DkW0BkbkKC0IoCLYhU8XhzBxfrCOe9aYAdqoAgf nvfwNVCEFCjO8lFasyhzOcC7Bk6OJLXKHOmnXqNQ64EkHqdoGRkIXz31+c0ariqrI8or JiXA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj7-20020a17090b4f4700b0024bc03cfa95si1241756pjb.156.2023.05.17.01.08.25; Wed, 17 May 2023 01:08:40 -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 S229763AbjEQHlc (ORCPT + 99 others); Wed, 17 May 2023 03:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjEQHlb (ORCPT ); Wed, 17 May 2023 03:41:31 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7601E64 for ; Wed, 17 May 2023 00:41:29 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8DxzOomhWRk5moJAA--.16259S3; Wed, 17 May 2023 15:41:26 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxHuQlhWRkhl5lAA--.42736S2; Wed, 17 May 2023 15:41:25 +0800 (CST) From: Sui Jingfeng To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , suijingfeng , liyi Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/drm_atomic.h: update the comment of legacy cursor update Date: Wed, 17 May 2023 15:41:25 +0800 Message-Id: <20230517074125.3228854-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8BxHuQlhWRkhl5lAA--.42736S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBjvdXoWrZFWrJF1kGry3uw4kWF1fXrb_yoWDCrgE9r y7Z3ykGr9xC34Fg347tF93KFZ3K392vF4Duw4rJw15JFykGa13Aw4DGFyfC3WUGrWDG34U W3Z3X34xZw1fWjkaLaAFLSUrUUUU0b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY Z7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4 x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4UJVWxJr1l n4kS14v26r126r1DM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6x ACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1DMcIj6I8E 87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lc7CjxV Aaw2AFwI0_JF0_Jw1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxY O2xFxVAFwI0_JF0_Jw1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGV WUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_ JFI_Gr1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rV WUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4U JbIYCTnIWIevJa73UjIFyTuYvjxU4SoGDUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766128007656183714?= X-GMAIL-MSGID: =?utf-8?q?1766128007656183714?= Because there have no atomic_async_commit hook in drm_plane_helper_funcs, Should replace it with atomic_async_update. Legacy cursor updates should be down with drm_plane_helper_funcs.atomic_async_update. Signed-off-by: Sui Jingfeng --- include/drm/drm_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index 9a022caacf93..c023c682301b 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -384,7 +384,7 @@ struct drm_atomic_state { * WARNING: This is thoroughly broken and pretty much impossible to * implement correctly. Drivers must ignore this and should instead * implement &drm_plane_helper_funcs.atomic_async_check and - * &drm_plane_helper_funcs.atomic_async_commit hooks. New users of this + * &drm_plane_helper_funcs.atomic_async_update hooks. New users of this * flag are not allowed. */ bool legacy_cursor_update : 1;