[PATCH 3/4] drm/tegra: Support kernel mappings with IOMMU

2016-11-11 Thread Thierry Reding
On Tue, Nov 08, 2016 at 07:51:34PM +0200, Mikko Perttunen wrote: > From: Arto Merilainen > > 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 engi

[PATCH 3/4] drm/tegra: Support kernel mappings with IOMMU

2016-11-08 Thread Mikko Perttunen
From: Arto Merilainen 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