18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * SPDX-License-Identifier: MIT 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright © 2019 Intel Corporation 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef IGT_MMAP_H 88c2ecf20Sopenharmony_ci#define IGT_MMAP_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cistruct drm_i915_private; 118c2ecf20Sopenharmony_cistruct drm_vma_offset_node; 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciunsigned long igt_mmap_node(struct drm_i915_private *i915, 148c2ecf20Sopenharmony_ci struct drm_vma_offset_node *node, 158c2ecf20Sopenharmony_ci unsigned long addr, 168c2ecf20Sopenharmony_ci unsigned long prot, 178c2ecf20Sopenharmony_ci unsigned long flags); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* IGT_MMAP_H */ 20