Linux 4.2.1
[linux/fpc-iii.git] / drivers / gpu / drm / exynos / exynos_drm_dmabuf.h
blob886de9ff484dd6bf4f1fd2228312cd91ebce91f1
1 /* exynos_drm_dmabuf.h
3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 * Author: Inki Dae <inki.dae@samsung.com>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
12 #ifndef _EXYNOS_DRM_DMABUF_H_
13 #define _EXYNOS_DRM_DMABUF_H_
15 struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev,
16 struct drm_gem_object *obj, int flags);
18 struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,
19 struct dma_buf *dma_buf);
20 #endif