From afb7b3b1deb471698f54e04a1815bc803ec9a161 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Sat, 20 Aug 2016 00:16:58 +0200 Subject: 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 --- drivers/gpu/drm/etnaviv/etnaviv_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/drm/etnaviv/etnaviv_mmu.c') 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, -- cgit