summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/etnaviv_iommu.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-08-19 22:16:58 (GMT)
committerLucas Stach <l.stach@pengutronix.de>2016-09-15 13:29:43 (GMT)
commitafb7b3b1deb471698f54e04a1815bc803ec9a161 (patch)
tree6bbe71c88f094c432b2cd1ce2771afa93f37b0ec /drivers/gpu/drm/etnaviv/etnaviv_iommu.h
parent128a9b1dec4c379c98beb675383b49ff2d3a641d (diff)
downloadlinux-afb7b3b1deb471698f54e04a1815bc803ec9a161.tar.xz
drm/etnaviv: implement IOMMUv2 translation
All other parts are now in place, so implement the actual translation step and hook it up, so the driver claims support for cores with the new MMU. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_iommu.h')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_iommu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_iommu.h b/drivers/gpu/drm/etnaviv/etnaviv_iommu.h
index 4b62129..8b51e7c 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_iommu.h
+++ b/drivers/gpu/drm/etnaviv/etnaviv_iommu.h
@@ -17,11 +17,12 @@
#ifndef __ETNAVIV_IOMMU_H__
#define __ETNAVIV_IOMMU_H__
-#include <linux/iommu.h>
struct etnaviv_gpu;
struct iommu_domain *etnaviv_iommuv1_domain_alloc(struct etnaviv_gpu *gpu);
void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu);
+
struct iommu_domain *etnaviv_iommuv2_domain_alloc(struct etnaviv_gpu *gpu);
+void etnaviv_iommuv2_restore(struct etnaviv_gpu *gpu);
#endif /* __ETNAVIV_IOMMU_H__ */