22 lines
397 B
C
Raw Normal View History

2026-01-21 18:59:54 +08:00
/*
* SPDX-License-Identifier: MIT
*
* Copyright © 2019 Intel Corporation
*/
#ifndef IGT_MMAP_H
#define IGT_MMAP_H
2026-01-29 22:25:33 +08:00
#include <linux/types.h>
2026-01-21 18:59:54 +08:00
struct drm_i915_private;
struct drm_vma_offset_node;
2026-01-29 22:25:33 +08:00
unsigned long igt_mmap_offset(struct drm_i915_private *i915,
u64 offset,
unsigned long size,
unsigned long prot,
unsigned long flags);
2026-01-21 18:59:54 +08:00
#endif /* IGT_MMAP_H */