Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35208057rwd; Mon, 10 Jul 2023 04:20:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlF1P1FZj7nWpvWS/ibSeS61x7QoYyfkaW10dWL2szhpa7ep5X3J7wY8RA5ccldtIzgQorNP X-Received: by 2002:a17:907:90d5:b0:982:25d1:bfd3 with SMTP id gk21-20020a17090790d500b0098225d1bfd3mr10278685ejb.15.1688988042895; Mon, 10 Jul 2023 04:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688988042; cv=none; d=google.com; s=arc-20160816; b=Am19nm5EhCHIyqjLj+f0mYshqDR1bhdy0kIfBeaM6JCgsaE6NJCOXiO20NY5CA2jmr 4Na8TBXgEWgYC7gNtzdIIExiOSPmZ1QKxv1rst8bnf9tmExiicJVv8yX7XllLgfiS3JH VffzqTLFmI3C9Nu7kjUHfQWGBYCCzbZHPjEJ+OfKCBfEd8R+g8f6QvajGhp0szZcuEom thnoWt3y8OmKh0HlwU8LM/DWvmV9IPbr4RfPnevQEIT8WWuoOApxF1Nz32q3LC/HwKIp 5TjYrIYWnCAWxz004dyQs3wzf0pgxtt5PHLNSkroZ5sE8Y7rsYjrXzsI+YIICUSs48kp 0woQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=CYxrrYnUqrkMy59GTjELve4cJ3+ZVeFvdL7z1zpjvkY=; fh=D3mdqP7+B/EpaUwaC10co6vJDMq6ASOViES/THM8u48=; b=AVYpUKARRvJVKsSf8pUQdsHcsZG5GuPLxUJUZNVwc2P9kBIadBT7mOWk6RwqfxA0Th 6nDJWQMjtAl/wVNJt4gog/GH/8qykU/zjEgyaIwwAIpZWtt6rkLD93a9bDXZYFn2WaBc FTCWjFJNWkFTXYLqDePdll8LyQP3laFnhZn2OfXnPHI5mvFgd69RsZ+94rgjMCaybip4 DoqlakREF63iIJUtnMbj7evIhi7CQ5JFbAG/JySQEY4m1t9E3+SKN7UItRn9VIbcimeW JoDL9t0+CwCIMw4KuGTOMPjMYgTqeyZ0GC+D5EMzhSlkHc0v/ePZfCkskfabA2jKOxl2 dIPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=uz0YFn4C; dkim=neutral (no key) header.i=@suse.de; 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=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd10-20020a170906ce2a00b009873cbdd6cfsi9126306ejb.706.2023.07.10.04.20.18; Mon, 10 Jul 2023 04:20:42 -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 header.i=@suse.de header.s=susede2_rsa header.b=uz0YFn4C; dkim=neutral (no key) header.i=@suse.de; 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=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232985AbjGJKju (ORCPT + 99 others); Mon, 10 Jul 2023 06:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232563AbjGJKjs (ORCPT ); Mon, 10 Jul 2023 06:39:48 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E0B3BD for ; Mon, 10 Jul 2023 03:39:24 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DDE9D2189D; Mon, 10 Jul 2023 10:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688985562; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CYxrrYnUqrkMy59GTjELve4cJ3+ZVeFvdL7z1zpjvkY=; b=uz0YFn4CeP6lKsNjbqQROnOqL+V0G7gRIEXTnEXfg5hF/N/LxIToBI9g9eRO0nOJXn7FBe VDttgRpBlSHdIS82z3NdQ3Nz8JUEwBaAl5oxT2vS44D+CTt4hJJVz5APzYaJty8kJRibwf FsZeEnPn2GMt932m6OcfRAUDqm6Q/tM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688985562; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CYxrrYnUqrkMy59GTjELve4cJ3+ZVeFvdL7z1zpjvkY=; b=LXZpglhQB1Z4Hol7lzeZKTYfjLkf4FMw5iA1Vj9D67B5RXhN7GhGdYzdwDfuqCCrhUfQnb KuRTJ9RKcQR2wqCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B128813A05; Mon, 10 Jul 2023 10:39:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id s6kgKtrfq2Q4SQAAMHmgww (envelope-from ); Mon, 10 Jul 2023 10:39:22 +0000 Message-ID: <6c7bbce7-5521-b868-019f-bce26f309730@suse.de> Date: Mon, 10 Jul 2023 12:39:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] drm/loongson: Remove a useless check in cursor_plane_atomic_async_check() Content-Language: en-US To: Sui Jingfeng , David Airlie , Daniel Vetter , Li Yi Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, Dan Carpenter References: <20230710102411.257970-1-suijingfeng@loongson.cn> From: Thomas Zimmermann In-Reply-To: <20230710102411.257970-1-suijingfeng@loongson.cn> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------4NzYHQ0meXnyjp5NUHEctiO8" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------4NzYHQ0meXnyjp5NUHEctiO8 Content-Type: multipart/mixed; boundary="------------gHC0UBfbZfbysQI57TF0upCZ"; protected-headers="v1" From: Thomas Zimmermann To: Sui Jingfeng , David Airlie , Daniel Vetter , Li Yi Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, Dan Carpenter Message-ID: <6c7bbce7-5521-b868-019f-bce26f309730@suse.de> Subject: Re: [PATCH] drm/loongson: Remove a useless check in cursor_plane_atomic_async_check() References: <20230710102411.257970-1-suijingfeng@loongson.cn> In-Reply-To: <20230710102411.257970-1-suijingfeng@loongson.cn> --------------gHC0UBfbZfbysQI57TF0upCZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCkFtIDEwLjA3LjIzIHVtIDEyOjI0IHNjaHJpZWIgU3VpIEppbmdmZW5nOg0KPiBCZWNh dXNlIHNtYXRjaCB3YXJuaW5nczoNCj4gDQo+IGRyaXZlcnMvZ3B1L2RybS9sb29uZ3Nvbi9s c2RjX3BsYW5lLmM6MTk5DQo+IGxzZGNfY3Vyc29yX3BsYW5lX2F0b21pY19hc3luY19jaGVj aygpDQo+IHdhcm46IHZhcmlhYmxlIGRlcmVmZXJlbmNlZCBiZWZvcmUgY2hlY2sgJ3N0YXRl JyAoc2VlIGxpbmUgMTgwKQ0KPiANCj4gdmltICsvc3RhdGUgKzE5OSBkcml2ZXJzL2dwdS9k cm0vbG9vbmdzb24vbHNkY19wbGFuZS5jDQo+IA0KPiAxNzQgIHN0YXRpYyBpbnQNCj4gICAg ICAgbHNkY19jdXJzb3JfcGxhbmVfYXRvbWljX2FzeW5jX2NoZWNrKHN0cnVjdCBkcm1fcGxh bmUgKnBsYW5lLA0KPiAxNzUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBzdHJ1Y3QgZHJtX2F0b21pY19zdGF0ZSAqc3RhdGUpDQo+IDE3NiAgew0KPiAxNzcgICAg ICAgICAgc3RydWN0IGRybV9wbGFuZV9zdGF0ZSAqbmV3X3N0YXRlOw0KPiAxNzggICAgICAg ICAgc3RydWN0IGRybV9jcnRjX3N0YXRlICpjcnRjX3N0YXRlOw0KPiAxNzkNCj4gMTgwICAg ICAgICAgIG5ld19zdGF0ZSA9IGRybV9hdG9taWNfZ2V0X25ld19wbGFuZV9zdGF0ZShzdGF0 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yBpbnQgbHNkY19j dXJzb3JfcGxhbmVfYXRvbWljX2FzeW5jX2NoZWNrKHN0cnVjdCBkcm1fcGxhbmUgKnBsYW5l LA0KPiAgIAkJcmV0dXJuIC1FSU5WQUw7DQo+ICAgCX0NCj4gICANCj4gLQlpZiAoc3RhdGUp IHsNCj4gLQkJY3J0Y19zdGF0ZSA9IGRybV9hdG9taWNfZ2V0X2V4aXN0aW5nX2NydGNfc3Rh dGUoc3RhdGUsIG5ld19zdGF0ZS0+Y3J0Yyk7DQo+IC0JfSBlbHNlIHsNCj4gLQkJY3J0Y19z dGF0ZSA9IHBsYW5lLT5jcnRjLT5zdGF0ZTsNCj4gLQkJZHJtX2RiZyhwbGFuZS0+ZGV2LCAi JXM6IGF0b21pYyBzdGF0ZSBpcyBOVUxMXG4iLCBwbGFuZS0+bmFtZSk7DQo+IC0JfQ0KPiAt DQo+ICsJY3J0Y19zdGF0ZSA9IGRybV9hdG9taWNfZ2V0X2V4aXN0aW5nX2NydGNfc3RhdGUo c3RhdGUsIG5ld19zdGF0ZS0+Y3J0Yyk7DQo+ICAgCWlmICghY3J0Y19zdGF0ZS0+YWN0aXZl KQ0KPiAgIAkJcmV0dXJuIC1FSU5WQUw7DQo+ICAgDQoNCi0tIA0KVGhvbWFzIFppbW1lcm1h bm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29mdHdhcmUgU29sdXRpb25z IEdlcm1hbnkgR21iSA0KRnJhbmtlbnN0cmFzc2UgMTQ2LCA5MDQ2MSBOdWVybmJlcmcsIEdl cm1hbnkNCkdGOiBJdm8gVG90ZXYsIEFuZHJldyBNeWVycywgQW5kcmV3IE1jRG9uYWxkLCBC b3VkaWVuIE1vZXJtYW4NCkhSQiAzNjgwOSAoQUcgTnVlcm5iZXJnKQ0K --------------gHC0UBfbZfbysQI57TF0upCZ-- --------------4NzYHQ0meXnyjp5NUHEctiO8 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmSr39kFAwAAAAAACgkQlh/E3EQov+AG YBAApa6MqDvII6lUjrhDQf7muKdgzsn40UQB/YfdsvISa2AhZ9fu/hbns/alX/fwVJNqUJcQoMVw XiGVgbhxsqlTUIaP0EaftZGsAItfzMEWm0NF/JE3vKHTm8xca6RItiWmXbW/U2o0mqv7E4etmmOH 2OCnRTSwTpNAxiBwclThu0NWoxBF6mc4JT+dPghIMuu32f3bkjPmzwvEb1cbvvvdWBLH2icl+CBy mH6N1GmlPwFR2vFWM9+E8ChgbJrCR2D9jE5lGDnRRNm7OMmMQBTD2cppKLzmn7KP/le5ZUmWUriZ EupfNIA3Bxz7rMAxddqoY/FjF7jYo54yU1gCzqmRGpHtkOpbCkh8XdifGCTeCDzeymGoqG5HX4Qj IX4Ep21g1xp/W6D/j04DwGgA3Kq5tnTnbE+H62CT0Dr45JjQY/kscrwyiUB9YykEpAKVh3ffPf4r Dg07H1IqunB+ABgkqTXCBAaPrsRdUDGItaWB+ke+ndMbOn9e5TwEtidG0dP6Iqjiuc0yA6Iz4rW5 QWf2xT/XJeU8Ep8qTnHNTPrVOr240pPcypnmZYNnmx862WkDkAFwTNMG6p6MTR0W6OiHtFb2IBWm zx5zWnnVo6vHq4J2UKGmQAImkCVyw5lN3whkB2t9ZsHtTVYiYcXeTpHOZ/d8HwvHC7DGbA6DZApv zm4= =7Co2 -----END PGP SIGNATURE----- --------------4NzYHQ0meXnyjp5NUHEctiO8--