diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-08-16 12:09:08 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-09-15 15:29:36 +0200 |
commit | dd34bb9655176873dc6fdfc612c71f7c2f078caa (patch) | |
tree | 4c7b2a25993598b1d540417cf662e52ba763b295 /drivers/gpu/drm/etnaviv/etnaviv_iommu.c | |
parent | e095c8feb8feed9e2c8ef76f8ec8491f46985e24 (diff) | |
download | kernel_replicant_linux-dd34bb9655176873dc6fdfc612c71f7c2f078caa.tar.gz kernel_replicant_linux-dd34bb9655176873dc6fdfc612c71f7c2f078caa.tar.bz2 kernel_replicant_linux-dd34bb9655176873dc6fdfc612c71f7c2f078caa.zip |
drm/etnaviv: move IOMMU domain allocation into etnaviv MMU
The GPU code doesn't need to deal with the IOMMU directly, instead
it can all be hidden behind the etnaviv mmu interface. Move the
last remaining part into etnaviv mmu.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_iommu.c')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_iommu.c b/drivers/gpu/drm/etnaviv/etnaviv_iommu.c index 912a290a4e9c..81f1583a7946 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_iommu.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_iommu.c @@ -219,7 +219,7 @@ void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu) gpu_write(gpu, VIVS_MC_MMU_RA_PAGE_TABLE, pgtable); } -struct iommu_domain *etnaviv_iommu_domain_alloc(struct etnaviv_gpu *gpu) +struct iommu_domain *etnaviv_iommuv1_domain_alloc(struct etnaviv_gpu *gpu) { struct etnaviv_iommu_domain *etnaviv_domain; int ret; |