mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
b74ea6a97e
The exynos drm driver has DRIVER_PRIME capability, then it's reasonable to support dmabuf as default. Remove DRM_EXYNOS_DMABUF config, it will prevent that user selects the option unnecessarily. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
21 lines
681 B
C
21 lines
681 B
C
/* 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
|