xref: /linux/drivers/gpu/drm/i915/selftests/igt_mmap.h (revision f86fd32d)
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2019 Intel Corporation
5  */
6 
7 #ifndef IGT_MMAP_H
8 #define IGT_MMAP_H
9 
10 struct drm_i915_private;
11 struct drm_vma_offset_node;
12 
13 unsigned long igt_mmap_node(struct drm_i915_private *i915,
14 			    struct drm_vma_offset_node *node,
15 			    unsigned long addr,
16 			    unsigned long prot,
17 			    unsigned long flags);
18 
19 #endif /* IGT_MMAP_H */
20