drm/tegra: Add IOMMU support
authorThierry Reding <treding@nvidia.com>
Thu, 26 Jun 2014 19:41:53 +0000 (21:41 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:14:48 +0000 (16:14 +0100)
commitdf06b759f2cf4690fa9991edb1504ba39932b2bb
tree0365d27fb82b94d4569c8b86dd775838bedc5ff1
parent1d1e6fe9b5cd9e51c0b064b60f673a973cac38ba
drm/tegra: Add IOMMU support

When an IOMMU device is available on the platform bus, allocate an IOMMU
domain and attach the display controllers to it. The display controllers
can then scan out non-contiguous buffers by mapping them through the
IOMMU.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/fb.c
drivers/gpu/drm/tegra/gem.c
drivers/gpu/drm/tegra/gem.h