xref: /linux/drivers/gpu/drm/imagination/pvr_vm_mips.h (revision e7b2b108cdeab76a7e7324459e50b0c1214c0386)
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
2 /* Copyright (c) 2023 Imagination Technologies Ltd. */
3 
4 #ifndef PVR_VM_MIPS_H
5 #define PVR_VM_MIPS_H
6 
7 /* Forward declaration from pvr_device.h. */
8 struct pvr_device;
9 
10 /* Forward declaration from pvr_gem.h. */
11 struct pvr_fw_object;
12 
13 int
14 pvr_vm_mips_init(struct pvr_device *pvr_dev);
15 void
16 pvr_vm_mips_fini(struct pvr_device *pvr_dev);
17 int
18 pvr_vm_mips_map(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj);
19 void
20 pvr_vm_mips_unmap(struct pvr_device *pvr_dev, struct pvr_fw_object *fw_obj);
21 
22 #endif /* PVR_VM_MIPS_H */
23