blob: 6e0405d47ce190d43aac6b9e7f6e6d288699b09b [file] [log] [blame]
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2022 Intel Corporation
*/
#ifndef __I915_GEM_DMABUF_H__
#define __I915_GEM_DMABUF_H__
struct drm_gem_object;
struct drm_device;
struct dma_buf;
struct drm_gem_object *i915_gem_prime_import(struct drm_device *dev,
struct dma_buf *dma_buf);
struct dma_buf *i915_gem_prime_export(struct drm_gem_object *gem_obj, int flags);
#endif /* __I915_GEM_DMABUF_H__ */