1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2014-2018 Etnaviv Project
6 #ifndef __ETNAVIV_IOMMU_H__
7 #define __ETNAVIV_IOMMU_H__
10 struct etnaviv_iommu_domain;
12 struct etnaviv_iommu_domain *
13 etnaviv_iommuv1_domain_alloc(struct etnaviv_gpu *gpu);
14 void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu);
16 struct etnaviv_iommu_domain *
17 etnaviv_iommuv2_domain_alloc(struct etnaviv_gpu *gpu);
18 void etnaviv_iommuv2_restore(struct etnaviv_gpu *gpu);
20 #endif /* __ETNAVIV_IOMMU_H__ */