drm/etnaviv: rename etnaviv_iommu_domain_restore to etnaviv_iommuv1_restore

This function has external visibility and only handles the Vivant IOMMU
version 1. Rename to make this more clear and allow a clear separation
of the different IOMMU versions.

Also drop the domain parameter, as we can infer it from the GPU we are
dealing with.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
此提交包含在:
Lucas Stach
2016-08-16 11:31:09 +02:00
父節點 acfee0ec03
當前提交 99aeeb7c58
共有 3 個檔案被更改,包括 5 行新增6 行删除

查看文件

@@ -576,7 +576,7 @@ static void etnaviv_gpu_hw_init(struct etnaviv_gpu *gpu)
gpu_write(gpu, VIVS_MC_MEMORY_BASE_ADDR_PE, gpu->memory_base);
/* setup the MMU page table pointers */
etnaviv_iommu_domain_restore(gpu, gpu->mmu->domain);
etnaviv_iommuv1_restore(gpu);
/* Start command processor */
prefetch = etnaviv_buffer_init(gpu);