diff options
Diffstat (limited to 'kernel/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h')
-rw-r--r-- | kernel/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h b/kernel/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h new file mode 100644 index 000000000..886de9ff4 --- /dev/null +++ b/kernel/drivers/gpu/drm/exynos/exynos_drm_dmabuf.h @@ -0,0 +1,20 @@ +/* exynos_drm_dmabuf.h + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + * Author: Inki Dae <inki.dae@samsung.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef _EXYNOS_DRM_DMABUF_H_ +#define _EXYNOS_DRM_DMABUF_H_ + +struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev, + struct drm_gem_object *obj, int flags); + +struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev, + struct dma_buf *dma_buf); +#endif |