summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-08-20 00:16:58 +0200
committerLucas Stach <l.stach@pengutronix.de>2016-09-15 15:29:43 +0200
commitafb7b3b1deb471698f54e04a1815bc803ec9a161 (patch)
tree6bbe71c88f094c432b2cd1ce2771afa93f37b0ec /drivers/gpu/drm/etnaviv/etnaviv_mmu.c
parent128a9b1dec4c379c98beb675383b49ff2d3a641d (diff)
downloadlinux-afb7b3b1deb471698f54e04a1815bc803ec9a161.tar.gz
linux-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_mmu.c')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_mmu.c b/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
index 98c84ef862c7..304c0b4a9d58 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
@@ -313,7 +313,7 @@ void etnaviv_iommu_restore(struct etnaviv_gpu *gpu)
if (gpu->mmu->version == ETNAVIV_IOMMU_V1)
etnaviv_iommuv1_restore(gpu);
else
- dev_err(gpu->dev, "IOMMUv2 restore not implemented\n");
+ etnaviv_iommuv2_restore(gpu);
}
u32 etnaviv_iommu_get_cmdbuf_va(struct etnaviv_gpu *gpu,