1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef __I915_GEM_DMABUF_H__
7 #define __I915_GEM_DMABUF_H__
8 
9 struct drm_gem_object;
10 struct drm_device;
11 struct dma_buf;
12 
13 struct drm_gem_object *i915_gem_prime_import(struct drm_device *dev,
14 					     struct dma_buf *dma_buf);
15 
16 struct dma_buf *i915_gem_prime_export(struct drm_gem_object *gem_obj, int flags);
17 
18 #endif /* __I915_GEM_DMABUF_H__ */
19