linuxdebug/drivers/gpu/drm/i915/selftests/igt_mmap.h

22 lines
397 B
C
Raw Normal View History

2024-07-16 15:50:57 +02:00
/*
* 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;
unsigned long igt_mmap_offset(struct drm_i915_private *i915,
u64 offset,
unsigned long size,
unsigned long prot,
unsigned long flags);
#endif /* IGT_MMAP_H */