summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/igt_mmap.h
blob: 6e716cb59d7eaa45bc70738b4582c6b61668b5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright © 2019 Intel Corporation
 */

#ifndef IGT_MMAP_H
#define IGT_MMAP_H

struct drm_i915_private;
struct drm_vma_offset_node;

unsigned long igt_mmap_node(struct drm_i915_private *i915,
			    struct drm_vma_offset_node *node,
			    unsigned long addr,
			    unsigned long prot,
			    unsigned long flags);

#endif /* IGT_MMAP_H */