Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / drivers / gpu / drm / etnaviv / etnaviv_iommu.h
blob01d59bf70d78cc283634063fda35c04d09a62876
1 /*
2 * Copyright (C) 2014 Christian Gmeiner <christian.gmeiner@gmail.com>
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef __ETNAVIV_IOMMU_H__
18 #define __ETNAVIV_IOMMU_H__
20 struct etnaviv_gpu;
21 struct etnaviv_iommu_domain;
23 struct etnaviv_iommu_domain *
24 etnaviv_iommuv1_domain_alloc(struct etnaviv_gpu *gpu);
25 void etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu);
27 struct etnaviv_iommu_domain *
28 etnaviv_iommuv2_domain_alloc(struct etnaviv_gpu *gpu);
29 void etnaviv_iommuv2_restore(struct etnaviv_gpu *gpu);
31 #endif /* __ETNAVIV_IOMMU_H__ */