Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6490676rwd; Mon, 19 Jun 2023 08:02:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rnArsxpRhPnf5ANq0tL1LLOoqf2MM9tGxkaYDB32Cxwb/cA0NROeQYjCEkeeq3STnSavJ X-Received: by 2002:a05:6a20:144f:b0:117:6b17:104b with SMTP id a15-20020a056a20144f00b001176b17104bmr7211139pzi.20.1687186944370; Mon, 19 Jun 2023 08:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687186944; cv=none; d=google.com; s=arc-20160816; b=zVk9ARDnKjCirUmsRBVnTIIbvKb7kEoUCn3rozpVL94wXGuuqbPMRrEMUEeNiWx1CJ ywcP9pO/Zd2jTrl2w+ROGEisrVGV3yoq1hcmdVUpt0ISu3THkGvAzpVNQJxza1orw6JR oJvZhqzAXyDRR0r46NZT7FXYTuG9PCdC5xigQsAFmGUMZ0m1JmRXZcjMQzWxNLXnwcvC HwqjXIfR2uNtsnogFQ2qo6vNMoD0AOcAo3meEkR9xvQeUmN+sFu3ThAWG6IQIy5MvKqr ktOoZVyQQvyay/970T28KYLTpwePZX4Fwh5MzlWj9PkU4lU74f28tRuzTn5oEzi+drS0 aGWg== 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:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=ywjVukmToU8k6hdCdSSEnWj9wcqGQTjDhK/qRMDRYos=; b=bjkaTM4MFrc3DmLdml3yWEls8LuRkhyZ3cIIN5pNqQ3RRBAVlvU2qR+/cmEj8ywalE DlHphBdR9VBCO17NLihP35TifSb0lILmpHFRn7S4T8r9sVE94MSPW40QjIQAdE7GST93 0B24jGGmiHNLNMxS42Pj0/ZWEcKrvaaYv8dr3IMjDlp90Bjle+I5dtMZ++rUlaURnupk 3HhtlSwLdyLnhqgR8IOsyqhdMhrfn8bTnAhx7FybBK2EDy0+CWWdejv4WdBEo8pxXckF vAYeiHQ2N3mtc6o79E/mAMfPXamOGPxUL+UcSAgB7Fvd/4q4/7Tizi3XCkW9uzwOu4aW 6HgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ql+MwzwI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fuXJtLQR; 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 j13-20020a63b60d000000b0053f23ffad1csi6859733pgf.544.2023.06.19.08.02.08; Mon, 19 Jun 2023 08:02:24 -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=Ql+MwzwI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fuXJtLQR; 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 S230322AbjFSOWe (ORCPT + 99 others); Mon, 19 Jun 2023 10:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjFSOWb (ORCPT ); Mon, 19 Jun 2023 10:22:31 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63047FE; Mon, 19 Jun 2023 07:22:30 -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 4E46C2189A; Mon, 19 Jun 2023 14:22:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1687184547; 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=ywjVukmToU8k6hdCdSSEnWj9wcqGQTjDhK/qRMDRYos=; b=Ql+MwzwIQNf/VBcGuKV3L3rRd/qQBmSBH2D57o/k3hSkP/8UxE/dfnIGU373Oc7J7iQGEC hGhlKQz8n3jKmpjeKtw9jc//GbF5l3hKoCqRVXcNJ1MtkXrkgGXZ2pGZ3lACN8v/50/c18 tcEhvXOHtcbqRvUU4kLcCV6GdIV7f6o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1687184547; 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=ywjVukmToU8k6hdCdSSEnWj9wcqGQTjDhK/qRMDRYos=; b=fuXJtLQR5Czn4lK2ttgweKxBT7d09EJ8h3rlcWfUn4tkmHo1vbZOnIjvyhM0zsH/iqBoS7 sX1iT0zmCCsFtpBg== 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 D7915138E8; Mon, 19 Jun 2023 14:22:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id caG0M6JkkGTRIAAAMHmgww (envelope-from ); Mon, 19 Jun 2023 14:22:26 +0000 Message-ID: Date: Mon, 19 Jun 2023 16:22:26 +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 4/9] drm/verisilicon: Add gem driver for JH7110 SoC To: Keith Zhao , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Cc: Krzysztof Kozlowski , Sumit Semwal , Emil Renner Berthing , Shengyang Chen , Conor Dooley , Albert Ou , Jagan Teki , Rob Herring , Chris Morgan , Paul Walmsley , Bjorn Andersson , Changhuang Liang , Jack Zhu , Palmer Dabbelt , Shawn Guo , christian.koenig@amd.com References: <20230602074043.33872-1-keith.zhao@starfivetech.com> <20230602074043.33872-5-keith.zhao@starfivetech.com> Content-Language: en-US From: Thomas Zimmermann In-Reply-To: <20230602074043.33872-5-keith.zhao@starfivetech.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------AQmo0XbTycWWIDd2erzQxco5" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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) --------------AQmo0XbTycWWIDd2erzQxco5 Content-Type: multipart/mixed; boundary="------------nV5DH2JaYJn29RZXOOhf0f8I"; protected-headers="v1" From: Thomas Zimmermann To: Keith Zhao , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Cc: Krzysztof Kozlowski , Sumit Semwal , Emil Renner Berthing , Shengyang Chen , Conor Dooley , Albert Ou , Jagan Teki , Rob Herring , Chris Morgan , Paul Walmsley , Bjorn Andersson , Changhuang Liang , Jack Zhu , Palmer Dabbelt , Shawn Guo , christian.koenig@amd.com Message-ID: Subject: Re: [PATCH 4/9] drm/verisilicon: Add gem driver for JH7110 SoC References: <20230602074043.33872-1-keith.zhao@starfivetech.com> <20230602074043.33872-5-keith.zhao@starfivetech.com> In-Reply-To: <20230602074043.33872-5-keith.zhao@starfivetech.com> --------------nV5DH2JaYJn29RZXOOhf0f8I Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMDIuMDYuMjMgdW0gMDk6NDAgc2NocmllYiBLZWl0aCBaaGFvOg0KPiBUaGlz IHBhdGNoIGltcGxlbWVudHMgZ2VtIHJlbGF0ZWQgQVBJcyBmb3IgSkg3MTAwIFNvQy4NCg0K cGxlYXNlIGFsc28gc2VlIG15IG90aGVyIHJlcGx5IHRvIHRoaXMgcGF0Y2guIE15IG1haWwg Y2xpZW50IGhhZCBhIGJ1ZyANCmJlZm9yZSBJIGNvdWxkIGZpbmlzaCBpdC4gQmVsb3cgYXJl IHNvbWUgbW9yZSBjb21tZW50cy4NCg0KPiANCj4gU2lnbmVkLW9mZi1ieTogS2VpdGggWmhh byA8a2VpdGguemhhb0BzdGFyZml2ZXRlY2guY29tPg0KPiAtLS0NClsuLi5dDQo+ICsjaWZu ZGVmIF9fVlNfR0VNX0hfXw0KPiArI2RlZmluZSBfX1ZTX0dFTV9IX18NCj4gKw0KPiArI2lu Y2x1ZGUgPGxpbnV4L2RtYS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2aWNlICpkZXYsDQo+ICsJCQkJCSAgIHN0cnVjdCBkbWFf YnVmICpkbWFfYnVmKTsNCj4gK3N0cnVjdCBkcm1fZ2VtX29iamVjdCAqDQo+ICt2c19nZW1f cHJpbWVfaW1wb3J0X3NnX3RhYmxlKHN0cnVjdCBkcm1fZGV2aWNlICpkZXYsDQo+ICsJCQkg ICAgIHN0cnVjdCBkbWFfYnVmX2F0dGFjaG1lbnQgKmF0dGFjaCwNCj4gKwkJCSAgICAgc3Ry dWN0IHNnX3RhYmxlICpzZ3QpOw0KPiArDQo+ICsjZW5kaWYgLyogX19WU19HRU1fSF9fICov DQoNCi0tIA0KVGhvbWFzIFppbW1lcm1hbm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXIN ClNVU0UgU29mdHdhcmUgU29sdXRpb25zIEdlcm1hbnkgR21iSA0KRnJhbmtlbnN0cmFzc2Ug MTQ2LCA5MDQ2MSBOdWVybmJlcmcsIEdlcm1hbnkNCkdGOiBJdm8gVG90ZXYsIEFuZHJldyBN eWVycywgQW5kcmV3IE1jRG9uYWxkLCBCb3VkaWVuIE1vZXJtYW4NCkhSQiAzNjgwOSAoQUcg TnVlcm5iZXJnKQ0K --------------nV5DH2JaYJn29RZXOOhf0f8I-- --------------AQmo0XbTycWWIDd2erzQxco5 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+AFAmSQZKIFAwAAAAAACgkQlh/E3EQov+Dh sg/9FK6lyEoYAw1QEf7gjCF9MaR0OxJb/gGkeJsLnmfPwbjmHytGMUlUQEOkKo9BUdQHBx8wH7Sl 6FCw7hCTHTSHVXb/I7IE/TsSbPijqFOeMdQAvUMdy1g/EV/K3U3DE3YtqX4/IYCYna+wPduHzxOJ r5VSgWZfZVskQxqAUPaTLbWlt9JoXlGB+KfoMFX02kJA5yu0Gag1q60C88eyvUGehuhSkTe4aEfq CewqJ6+qGUGCStV81G9WJM0swEoFH+yThuNylfOR3KDcibC1zsUoQ1EJgZv4Zu9CjDgNOv1dNBeM yqcRO9VZnTunJ2QK8v8c1po0XyZnDgx/JbqGvKFcbpOng30ODvk9qDnVw/oY+I3tCwT07pgDTlOc FpyyBH56sdhwiLQ4kQMF/K6CEomDvudttRBURlZ758SbmQcLgEq8wLqnaMfYdKIl+YWiIl9sFb5o y5Zu8OT7RMdockxADbi44cWyZ9u0A2k/AqQBItNwSf+j0KPVzQd6FSCejMSynDFRp55ggLXu5XdF QlFAzCDD6eUw0zbOa93PQir5cFH4RpXMDcNDSNFRc9cmJP8mXLklM+oCmIeLq8B8qJFet+FDLm4C YgGLzd/sjr59jNjS2BQ0fVeJGFID5bJY6FPyho9xUirldXVdJJhHf4NB6hLNo4dGy8W/r4H5s1MS qZM= =yGOr -----END PGP SIGNATURE----- --------------AQmo0XbTycWWIDd2erzQxco5--