1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright 2019 Linaro, Ltd, Rob Herring <robh@kernel.org> */ 3 4 #ifndef __PANFROST_MMU_H__ 5 #define __PANFROST_MMU_H__ 6 7 struct panfrost_gem_object; 8 9 int panfrost_mmu_map(struct panfrost_gem_object *bo); 10 void panfrost_mmu_unmap(struct panfrost_gem_object *bo); 11 12 int panfrost_mmu_init(struct panfrost_device *pfdev); 13 void panfrost_mmu_fini(struct panfrost_device *pfdev); 14 15 void panfrost_mmu_enable(struct panfrost_device *pfdev, u32 as_nr); 16 17 #endif 18