Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B538EC05027 for ; Fri, 17 Feb 2023 13:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbjBQNmV (ORCPT ); Fri, 17 Feb 2023 08:42:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbjBQNmQ (ORCPT ); Fri, 17 Feb 2023 08:42:16 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E54F68AFE for ; Fri, 17 Feb 2023 05:42:15 -0800 (PST) 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-out2.suse.de (Postfix) with ESMTPS id 154A71FF98; Fri, 17 Feb 2023 13:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1676641334; 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=AjFMkHXsM8fM4NPbEA9UfxXvhT3vw/AHE68H6u3D2IY=; b=UMO/PZzzG/ReRdG4iVcqfBir/QXaXVet/1Jjin4oCLOmgcSxZJR7kljnjh09gejTn5GfGp CtiJWAyFxwX46SgQwWSf6OnkLwa8IAw4f5hC3T9TNlxpm4dlWwn1cf8tuI8UlB2hNgrcog 4HRXYkBJJixA2bGoY6koYFxAdK6MCuc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1676641334; 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=AjFMkHXsM8fM4NPbEA9UfxXvhT3vw/AHE68H6u3D2IY=; b=ADGviP6IY/XJuAO5haXnc0OBWjpXmH/rHSQTbVEdS2wpwjN6/LFidBy6bD9BzlGGblI4rV n6jwLYcJIqyL9RCw== 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 96CF813274; Fri, 17 Feb 2023 13:42:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ryn/IjWE72OzCQAAMHmgww (envelope-from ); Fri, 17 Feb 2023 13:42:13 +0000 Message-ID: Date: Fri, 17 Feb 2023 14:42:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v10 09/11] drm/gem: Add drm_gem_pin_unlocked() Content-Language: en-US To: Dmitry Osipenko , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Daniel Almeida , Gustavo Padovan , Daniel Stone , Tomeu Vizoso , Maarten Lankhorst , Maxime Ripard , Rob Clark , Sumit Semwal , =?UTF-8?Q?Christian_K=c3=b6nig?= , Qiang Yu , Steven Price , Alyssa Rosenzweig , Rob Herring , Sean Paul , Dmitry Baryshkov , Abhinav Kumar Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org References: <20230108210445.3948344-1-dmitry.osipenko@collabora.com> <20230108210445.3948344-10-dmitry.osipenko@collabora.com> From: Thomas Zimmermann In-Reply-To: <20230108210445.3948344-10-dmitry.osipenko@collabora.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------YEkqz0yA0vjAn7Bykv0GXpsJ" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------YEkqz0yA0vjAn7Bykv0GXpsJ Content-Type: multipart/mixed; boundary="------------Z3KnnIy3SuREDC6znB2yaF0I"; protected-headers="v1" From: Thomas Zimmermann To: Dmitry Osipenko , David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Daniel Almeida , Gustavo Padovan , Daniel Stone , Tomeu Vizoso , Maarten Lankhorst , Maxime Ripard , Rob Clark , Sumit Semwal , =?UTF-8?Q?Christian_K=c3=b6nig?= , Qiang Yu , Steven Price , Alyssa Rosenzweig , Rob Herring , Sean Paul , Dmitry Baryshkov , Abhinav Kumar Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Message-ID: Subject: Re: [PATCH v10 09/11] drm/gem: Add drm_gem_pin_unlocked() References: <20230108210445.3948344-1-dmitry.osipenko@collabora.com> <20230108210445.3948344-10-dmitry.osipenko@collabora.com> In-Reply-To: <20230108210445.3948344-10-dmitry.osipenko@collabora.com> --------------Z3KnnIy3SuREDC6znB2yaF0I Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SSBmb3Jnb3QgdGhpcyBjaGFuZ2UuDQoNCkFtIDA4LjAxLjIzIHVtIDIyOjA0IHNjaHJpZWIg RG1pdHJ5IE9zaXBlbmtvOg0KPiBBZGQgdW5sb2NrZWQgdmFyaWFudHMgb2YgZHJtX2dlbV91 bi9waW4oKSBmdW5jdGlvbnMuIFRoZXNlIG5ldyBoZWxwZXJzDQo+IHdpbGwgdGFrZSBjYXJl IG9mIEdFTSBkbWEtcm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IC0tLSBh L2luY2x1ZGUvZHJtL2RybV9nZW0uaA0KPiArKysgYi9pbmNsdWRlL2RybS9kcm1fZ2VtLmgN Cj4gQEAgLTQ5Myw0ICs0OTMsNyBAQCB1bnNpZ25lZCBsb25nIGRybV9nZW1fbHJ1X3NjYW4o c3RydWN0IGRybV9nZW1fbHJ1ICpscnUsDQo+ICAgDQo+ICAgYm9vbCBkcm1fZ2VtX29iamVj dF9ldmljdChzdHJ1Y3QgZHJtX2dlbV9vYmplY3QgKm9iaik7DQo+ICAgDQo+ICtpbnQgZHJt X2dlbV9waW5fdW5sb2NrZWQoc3RydWN0IGRybV9nZW1fb2JqZWN0ICpvYmopOw0KPiArdm9p ZCBkcm1fZ2VtX3VucGluX3VubG9ja2VkKHN0cnVjdCBkcm1fZ2VtX29iamVjdCAqb2JqKTsN Cj4gKw0KPiAgICNlbmRpZiAvKiBfX0RSTV9HRU1fSF9fICovDQoNCi0tIA0KVGhvbWFzIFpp bW1lcm1hbm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29mdHdhcmUgU29s dXRpb25zIEdlcm1hbnkgR21iSA0KTWF4ZmVsZHN0ci4gNSwgOTA0MDkgTsO8cm5iZXJnLCBH ZXJtYW55DQooSFJCIDM2ODA5LCBBRyBOw7xybmJlcmcpDQpHZXNjaMOkZnRzZsO8aHJlcjog SXZvIFRvdGV2DQo= --------------Z3KnnIy3SuREDC6znB2yaF0I-- --------------YEkqz0yA0vjAn7Bykv0GXpsJ 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+AFAmPvhDUFAwAAAAAACgkQlh/E3EQov+AJ CRAAke/NN/NQ0vWzacgOoYmIPjFXGMa/wy1lJbgC8EltQRzSKvPs05T23clW71EDeqppBrqebbAt gMcaVxY9J6SOAhPZkls3ZIL7wj+/+TRIYxHJj2PXy07/ymLZ9AHZd9+ScDwR+tsX2vbDJ7VPxLvk eJ3sEqUyd8z+YkqKZ8gDJvJEcYZ9zQkjn2CO83KCc1Nbseic2M9yT2s2qQRcl5EnnPwpwyos+fvC 1CG/NbSH8SojY2jLLYR1J9msnD9eQ+nQNhqV7hkKzGcRG2TvKG5amXLQ/8RmR3rIgZj0TlZfyx8E RrYgxArzCKLKkTfGpMfn4niOusJdoFgen/uwujxRyPALBNj43Wrm67crxmgNsJ35C6vWBN8Jluh0 7m5yNCp4illwphVjZqmHj+wgTquz3I0gtlAhRWMw/fvlsM4IfPnOKFmWjqR/+zCVQijU5/UKV/0w 0fQfWbgmh3kcgy8cs8oXxwVxOKwaC3ljeJumJuqz3Vda2PMQ8K9QXS1r4z3MbSGNweEsvSV1e4o1 tzQDD/fzDY3GWm3ezAXxJX5JvysjPJWUsbsOj9iyfRgoSz9TGS0Lu1erKVBOc0RPf5ZsyfpiNTjJ n/IGzJ4kJ05lhgQ8VQDNmY/IGkOneIJ6tdbX8kUxwmsJBDLh7+C1C+7ynueXRsZX4bVJKZZHrYe1 1xE= =gTBP -----END PGP SIGNATURE----- --------------YEkqz0yA0vjAn7Bykv0GXpsJ--