1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012 Samsung Electronics Co.Ltd
4 * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
7 #ifdef CONFIG_DRM_EXYNOS_G2D
8 extern int exynos_g2d_get_ver_ioctl(struct drm_device
*dev
, void *data
,
9 struct drm_file
*file_priv
);
10 extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device
*dev
, void *data
,
11 struct drm_file
*file_priv
);
12 extern int exynos_g2d_exec_ioctl(struct drm_device
*dev
, void *data
,
13 struct drm_file
*file_priv
);
15 extern int g2d_open(struct drm_device
*drm_dev
, struct drm_file
*file
);
16 extern void g2d_close(struct drm_device
*drm_dev
, struct drm_file
*file
);
18 static inline int exynos_g2d_get_ver_ioctl(struct drm_device
*dev
, void *data
,
19 struct drm_file
*file_priv
)
24 static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device
*dev
,
26 struct drm_file
*file_priv
)
31 static inline int exynos_g2d_exec_ioctl(struct drm_device
*dev
, void *data
,
32 struct drm_file
*file_priv
)
37 int g2d_open(struct drm_device
*drm_dev
, struct drm_file
*file
)
42 void g2d_close(struct drm_device
*drm_dev
, struct drm_file
*file
)