xref: /linux/drivers/gpu/drm/xe/xe_dma_buf.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _XE_DMA_BUF_H_
7 #define _XE_DMA_BUF_H_
8 
9 #include <drm/drm_gem.h>
10 
11 struct dma_buf *xe_gem_prime_export(struct drm_gem_object *obj, int flags);
12 struct drm_gem_object *xe_gem_prime_import(struct drm_device *dev,
13 					   struct dma_buf *dma_buf);
14 
15 #endif
16