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 struct dma_buf *exynos_dmabuf_prime_export(struct drm_device *drm_dev, 16 struct drm_gem_object *obj, int flags); 17 18 struct drm_gem_object *exynos_dmabuf_prime_import(struct drm_device *drm_dev, 19 struct dma_buf *dma_buf); 20 #endif 21