Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / lima / lima_mmu.h
blobf0c97ac75ea0100b31c81953321a3d99e873800a
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
4 #ifndef __LIMA_MMU_H__
5 #define __LIMA_MMU_H__
7 struct lima_ip;
8 struct lima_vm;
10 int lima_mmu_resume(struct lima_ip *ip);
11 void lima_mmu_suspend(struct lima_ip *ip);
12 int lima_mmu_init(struct lima_ip *ip);
13 void lima_mmu_fini(struct lima_ip *ip);
15 void lima_mmu_flush_tlb(struct lima_ip *ip);
16 void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm);
17 void lima_mmu_page_fault_resume(struct lima_ip *ip);
19 #endif