1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright �� 2023 Intel Corporation 4 */ 5 6#ifndef _I915_GEM_MMAN_H_ 7#define _I915_GEM_MMAN_H_ 8 9#include "xe_bo_types.h" 10#include <drm/drm_prime.h> 11 12static inline int i915_gem_fb_mmap(struct xe_bo *bo, struct vm_area_struct *vma) 13{ 14 return drm_gem_prime_mmap(&bo->ttm.base, vma); 15} 16 17#endif 18