gpu: host1x: Add IOMMU support
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 14 Dec 2016 11:16:14 +0000 (13:16 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Apr 2017 16:11:43 +0000 (18:11 +0200)
commit404bfb78daf3bedafb0bfab24947059575cbea3d
tree59b8ed6b140ce74ffeb94e1488ee7818f3b02c18
parent8cadb01d2c2f520a890d1bc78b45471f21b9b76d
gpu: host1x: Add IOMMU support

Add support for the Host1x unit to be located behind
an IOMMU. This is required when gather buffers may be
allocated non-contiguously in physical memory, as can
be the case when TegraDRM is also using the IOMMU.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/cdma.c
drivers/gpu/host1x/cdma.h
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/job.c
drivers/gpu/host1x/job.h