From: Tomi Valkeinen Subject: Re: [PATCH v2 08/10] drm: omapdrm: DMA-unmap pages for all buffer types when freeing buffers Date: Thu, 27 Apr 2017 13:48:17 +0300 Message-ID: <8b0af0b5-ec4e-4197-6013-311b0f0ec9d3@ti.com> References: <20170420213359.31300-1-laurent.pinchart@ideasonboard.com> <20170420213359.31300-9-laurent.pinchart@ideasonboard.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0904296890==" Return-path: Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id D61416E11B for ; Thu, 27 Apr 2017 10:48:21 +0000 (UTC) In-Reply-To: <20170420213359.31300-9-laurent.pinchart@ideasonboard.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Laurent Pinchart , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0904296890== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nsKerDjTTWEPWg5sTFEcOlxm9thVWtK38" --nsKerDjTTWEPWg5sTFEcOlxm9thVWtK38 Content-Type: multipart/mixed; boundary="hoimw8ah8wrhpPUINFnwB0tXGumhxW9G3"; protected-headers="v1" From: Tomi Valkeinen To: Laurent Pinchart , dri-devel@lists.freedesktop.org Message-ID: <8b0af0b5-ec4e-4197-6013-311b0f0ec9d3@ti.com> Subject: Re: [PATCH v2 08/10] drm: omapdrm: DMA-unmap pages for all buffer types when freeing buffers References: <20170420213359.31300-1-laurent.pinchart@ideasonboard.com> <20170420213359.31300-9-laurent.pinchart@ideasonboard.com> In-Reply-To: <20170420213359.31300-9-laurent.pinchart@ideasonboard.com> --hoimw8ah8wrhpPUINFnwB0tXGumhxW9G3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 21/04/17 00:33, Laurent Pinchart wrote: > Both coherent (uncached) and non-coherent (cached) buffers can have > their pages mapped to the device through the DMA mapping API. Make sure= > to unmap any mapped page when freeing a buffer, regardless of its type.= >=20 > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/omapdrm/omap_gem.c | 17 ++++++----------- > 1 file changed, 6 insertions(+), 11 deletions(-) Reviewed-by: Tomi Valkeinen Tomi --hoimw8ah8wrhpPUINFnwB0tXGumhxW9G3-- --nsKerDjTTWEPWg5sTFEcOlxm9thVWtK38 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIbBAEBCAAGBQJZAcxxAAoJEPo9qoy8lh71EL8P+IlftxrqE5L0geh0fkJSdbTC YomnP6ANgfgYV5esG02au8CrelcysvrSAYpNdUr7QPxwRaMv/qltj9XWwAd7Hm0o icqMBaHOBvle6gCzGn0r89o9pkCkvOLKXR3PYh2WcSYdMi4qIGq2AyYbSLw5k+Ww OkvFQjyM1/qaGLt1lrKQlywVMQ2XJUa0pjHgUZDQyDhtq6OZlMi2KdENApQ1B0gT 3L1FJ0ZQXJC1UjEvWor7nh0SUr2F9mF1glEqiEHVOF6DnZ6DPn+7Ql7EEV1vKK7d yRCTl0ocUiQw+clxAUJG833ocBM5Ervmn807dndS6jLa7xRAT7ZKzngohW6VVxgy 6oeXldCXrsM08cboH25wP10sYUU7NL6jI5qdIeMY8knXALZa4k0SHkaI77TVVB2L tjL8C7cuK8ZLroU72kbi0p+P6wo7jg0xCVEGfObNVhGg2qL6+yYfa1RfQgo0pP82 Mx3gdBJmQQmhk2j++X5dDJyYjKwW2/4N4u50dx0fhvYubCFvWgaVDWtELuBpJ3Jb ncokteRiWvwgwhjpKUik8GIrvcEnRqNfXyfDpmJcGGwt4BcaoPl5nZdDYimtLxgL oKldJpo9LVdRJH9bpzfEk97fKmFULL9ueTd2/sPvX7PWMCXYom8HZbsPZ4MhrBNl f3UBxnLiWWy9SKVHwrg= =2tEa -----END PGP SIGNATURE----- --nsKerDjTTWEPWg5sTFEcOlxm9thVWtK38-- --===============0904296890== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0904296890==--