xref: /linux/drivers/gpu/drm/xe/xe_dma_buf.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
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