Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp290363pxb; Thu, 27 Jan 2022 22:10:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNn5EzPsoKZzPVWRC3hVufAToCaQl66HNO1RWe4EGwczEFTsAcl1cVc3t5d8sLsV0EMJ+P X-Received: by 2002:a17:902:ec86:: with SMTP id x6mr7093810plg.96.1643350226615; Thu, 27 Jan 2022 22:10:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643350226; cv=none; d=google.com; s=arc-20160816; b=ta0uAFaQsu25d5hjyxWgm3u2sbutN+NN8I/srOVxPey2mtvyEaHtc2/ts3nJQanx74 l5ZdkCFdLpL+xvAZLVF2KTJxWBccFC/W4DBf95JF+douTk8z1P4KLdaM1IhcMCT0Rin8 DXY5wQTzabovWv7CoRpc4YMfZiGii2IAAN75v3EKrgIRlHepErDRiTE+VIbwfspUb+uo 6UjvBTfb0dhuM4Hnvm5YdyhR3KvIdJy8UCDml0mlgjUnOC44kjKsVV9Wq8VLqtXCMwB9 kA98K6i5ig7lUBFJNLyyFExk5/7rgahVhZQJCr5HyyVY70fMQ3bR/h0EaViom37WfkiK 9alg== 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=gfVtGjzgCMvnnZDpcehQwVBibFUoPCCrxlGLDylV22w=; b=qOQVLjAQAH6I/eyCt5uQxybS3ncLyRlWX0SySsFqBUnQEQ9QflLXjjxEflFwCXhpvY psSMdtzJGKrC1bNRR0cprl88+z15/ljJitnt4EAppmL81g8wWkiB5LD0J4byrNNammlp +oELoDhNBUFnVXOFFQeTkhCiyHN/OA19BIRGAz3YgGAh0wsCrxf9X1wtDI3BaBSaeT6V dDnwLBCWsE0yzOVpgDDRRBDgvkfBnEjz4dKSMIvRGdsPhFxj97Cq0ZR2WdufKtK4J5bd 5PVl8j4LBI69klDuGzY/no27F/5wlIHAUFAzJigcSvlNlpa5b7aggi0Q6GT8NcrrJplh nj/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="dC04/vap"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ebxuPTuY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id na3si1575022pjb.16.2022.01.27.22.10.15; Thu, 27 Jan 2022 22:10:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="dC04/vap"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ebxuPTuY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242412AbiA0OdR (ORCPT + 99 others); Thu, 27 Jan 2022 09:33:17 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:35646 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242326AbiA0OdO (ORCPT ); Thu, 27 Jan 2022 09:33:14 -0500 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 3B634218E0; Thu, 27 Jan 2022 14:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643293993; 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=gfVtGjzgCMvnnZDpcehQwVBibFUoPCCrxlGLDylV22w=; b=dC04/vapA8F85tjb/mNCwjyzo3DyippRN4nkXG6xjV5P6EGAsO40VUhCedqDqd1d8xvSKx rYC36SFRAAwSr3Kd+e7J/e0WsQPZyUYW3iO9El2ZVNtesE+c+tibK9+fqiXFksEqFUsRwD CMVRqmKnfoRcnpknafL27OOEFc/bmYc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643293993; 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=gfVtGjzgCMvnnZDpcehQwVBibFUoPCCrxlGLDylV22w=; b=ebxuPTuYo9Bt98YIKmZBtt7q7LUYCkPESe35YpFr38dKRv4Q1jgMqV+avZf6hpqPBxYO3o facYijkXbJpPCsDQ== 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 110F413BFC; Thu, 27 Jan 2022 14:33:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ZzLAAimt8mFyRAAAMHmgww (envelope-from ); Thu, 27 Jan 2022 14:33:13 +0000 Message-ID: Date: Thu, 27 Jan 2022 15:33:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 02/19] dma-buf-map: Add helper to initialize second map Content-Language: en-US To: Lucas De Marchi , intel-gfx@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?UTF-8?Q?Christian_K=c3=b6nig?= , linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org References: <20220126203702.1784589-1-lucas.demarchi@intel.com> <20220126203702.1784589-3-lucas.demarchi@intel.com> From: Thomas Zimmermann In-Reply-To: <20220126203702.1784589-3-lucas.demarchi@intel.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------EPku7XflatQ6Ovr3WRaAV1zC" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------EPku7XflatQ6Ovr3WRaAV1zC Content-Type: multipart/mixed; boundary="------------vGcauGD8tAgNdR80NZ29NGhd"; protected-headers="v1" From: Thomas Zimmermann To: Lucas De Marchi , intel-gfx@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?UTF-8?Q?Christian_K=c3=b6nig?= , linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org Message-ID: Subject: Re: [PATCH 02/19] dma-buf-map: Add helper to initialize second map References: <20220126203702.1784589-1-lucas.demarchi@intel.com> <20220126203702.1784589-3-lucas.demarchi@intel.com> In-Reply-To: <20220126203702.1784589-3-lucas.demarchi@intel.com> --------------vGcauGD8tAgNdR80NZ29NGhd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCkFtIDI2LjAxLjIyIHVtIDIxOjM2IHNjaHJpZWIgTHVjYXMgRGUgTWFyY2hpOg0KPiBX aGVuIGRtYV9idWZfbWFwIHN0cnVjdCBpcyBwYXNzZWQgYXJvdW5kLCBpdCdzIHVzZWZ1bCB0 byBiZSBhYmxlIHRvDQo+IGluaXRpYWxpemUgYSBzZWNvbmQgbWFwIHRoYX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sIEdlcm1hbnkNCihI UkIgMzY4MDksIEFHIE7DvHJuYmVyZykNCkdlc2Now6RmdHNmw7xocmVyOiBJdm8gVG90ZXYN Cg== --------------vGcauGD8tAgNdR80NZ29NGhd-- --------------EPku7XflatQ6Ovr3WRaAV1zC 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+AFAmHyrSgFAwAAAAAACgkQlh/E3EQov+Cc 6g//TK4JmsLDsBBuI7FCdzbCPrs+sPOpBPxZP5UxyowIUXqfpfsjmjQTaDgOD8KSCQLmb+UH4+yh rhOob5lWlLbaOu341xPk6TleHIbu8lVCC+7HATCxJ4Llp1ViT3Z4H1qgAc59GSPbVEpxJWG0t52b /lL0651M4oR5TKZXEzoX6t9Of+VXga/wo0wdE0kzdWv0SBpiAnNI6YqlNAVFsW7A8jyKwIKPbD0D uxTp0D5pVsYf+80oNM4IHstjIPQqIaNUXlqIzvIx4eoppkDCgEFxuectj7NK9mConk5RQguQWiHZ rzr9/P/pRz9vgacplYjjnkuO4DOZGFNady9JvH+pgIQ2XFsmkNgcNf2UrVN2+bJm2MdLQ0UReKiA ypqqkYcyuLTtOGgggs90hEalFsIw4CqNxu4HE3sF7gq0OcRxk0AmpZC9FcJh+Fj0JIcjv4vZmfQY CWOIHB47aRaHZyr2XDL0+ibjbNTf6kcqhItWNWmq34TKL1SW36WN865+2ETmwARRffF+wVLYVAIw QgLs/cVIW2DtCM1Cxr9yttdJ9LU7Lz4YiW1rA7/7GzSzuuSxa4SVz9yWVAjjJy3ljG3uKZBPGrYI ylNA03ps9v32zBqsjT6m9BFGLFBAxmhlr/0YOJfBTt0Mh2VVcn2NI+NJuGw19GtYXs0Ky6g4x50M Pkc= =ejto -----END PGP SIGNATURE----- --------------EPku7XflatQ6Ovr3WRaAV1zC--