Files
2026-09-06 12:53:21 -06:00

30 lines
600 B
C

/*
* SPDX-License-Identifier: MIT
*
* Copyright © 2019 Intel Corporation
*/
#ifndef IGT_MMAP_H
#define IGT_MMAP_H
#include <linux/types.h>
struct drm_i915_private;
struct drm_vma_offset_node;
struct file;
unsigned long igt_mmap_offset(struct drm_i915_private *i915,
u64 offset,
unsigned long size,
unsigned long prot,
unsigned long flags);
unsigned long igt_mmap_offset_with_file(struct drm_i915_private *i915,
u64 offset,
unsigned long size,
unsigned long prot,
unsigned long flags,
struct file *file);
#endif /* IGT_MMAP_H */