xref: /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/igt_mmap.h (revision 41ec02673d281bbb3d38e6c78504ce6e30c228c1)
1 /*	$NetBSD: igt_mmap.h,v 1.2 2021/12/18 23:45:31 riastradh Exp $	*/
2 
3 /*
4  * SPDX-License-Identifier: MIT
5  *
6  * Copyright © 2019 Intel Corporation
7  */
8 
9 #ifndef IGT_MMAP_H
10 #define IGT_MMAP_H
11 
12 struct drm_i915_private;
13 struct drm_vma_offset_node;
14 
15 unsigned long igt_mmap_node(struct drm_i915_private *i915,
16 			    struct drm_vma_offset_node *node,
17 			    unsigned long addr,
18 			    unsigned long prot,
19 			    unsigned long flags);
20 
21 #endif /* IGT_MMAP_H */
22