[PATCH 3/4] drm/tegra: Support kernel mappings with IOMMU
Thierry Reding
thierry.reding at gmail.com
Fri Nov 11 14:36:41 UTC 2016
On Tue, Nov 08, 2016 at 07:51:34PM +0200, Mikko Perttunen wrote:
> From: Arto Merilainen <amerilainen at nvidia.com>
>
> Host1x command buffer patching requires that the buffer object can be
> mapped into kernel address space, however, the recent addition of
> IOMMU did not account to this requirement. Therefore Host1x engines
> cannot be used if IOMMU is enabled.
>
> This patch implements kmap, kunmap, mmap and munmap functions to
> host1x bo objects.
>
> Signed-off-by: Arto Merilainen <amerilainen at nvidia.com>
> Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com>
> ---
> drivers/gpu/drm/tegra/gem.c | 34 +++++++++++++++++++++++++++++++---
> 1 file changed, 31 insertions(+), 3 deletions(-)
Applied with a tiny fixup of the commit message, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161111/4c924bf6/attachment.sig>
More information about the dri-devel
mailing list