Home | History | Annotate | Line # | Download | only in selftests
      1  1.1  riastrad /*	$NetBSD: igt_mmap.h,v 1.2 2021/12/18 23:45:31 riastradh Exp $	*/
      2  1.1  riastrad 
      3  1.1  riastrad /*
      4  1.1  riastrad  * SPDX-License-Identifier: MIT
      5  1.1  riastrad  *
      6  1.1  riastrad  * Copyright  2019 Intel Corporation
      7  1.1  riastrad  */
      8  1.1  riastrad 
      9  1.1  riastrad #ifndef IGT_MMAP_H
     10  1.1  riastrad #define IGT_MMAP_H
     11  1.1  riastrad 
     12  1.1  riastrad struct drm_i915_private;
     13  1.1  riastrad struct drm_vma_offset_node;
     14  1.1  riastrad 
     15  1.1  riastrad unsigned long igt_mmap_node(struct drm_i915_private *i915,
     16  1.1  riastrad 			    struct drm_vma_offset_node *node,
     17  1.1  riastrad 			    unsigned long addr,
     18  1.1  riastrad 			    unsigned long prot,
     19  1.1  riastrad 			    unsigned long flags);
     20  1.1  riastrad 
     21  1.1  riastrad #endif /* IGT_MMAP_H */
     22