]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/gpu/drm/exynos/exynos_drm_dmabuf.h
Merge commit '6bb27d7349db51b50c40534710fe164ca0d58902' into omap-timer-for-v3.10
[karo-tx-linux.git] / drivers / gpu / drm / exynos / exynos_drm_dmabuf.h
1 /* exynos_drm_dmabuf.h
2  *
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  * Author: Inki Dae <inki.dae@samsung.com>
5  *
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.
10  */
11
12 #ifndef _EXYNOS_DRM_DMABUF_H_
13 #define _EXYNOS_DRM_DMABUF_H_
14
15 #ifdef CONFIG_DRM_EXYNOS_DMABUF
16 struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev,
17                                 struct drm_gem_object *obj, int flags);
18
19 struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev,
20                                                 struct dma_buf *dma_buf);
21 #else
22 #define exynos_dmabuf_prime_export              NULL
23 #define exynos_dmabuf_prime_import              NULL
24 #endif
25 #endif