1
2
3
4
5
6
7
8
9
10#ifdef CONFIG_DRM_EXYNOS_G2D
11extern int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
12 struct drm_file *file_priv);
13extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, void *data,
14 struct drm_file *file_priv);
15extern int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
16 struct drm_file *file_priv);
17#else
18static inline int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
19 struct drm_file *file_priv)
20{
21 return -ENODEV;
22}
23
24static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev,
25 void *data,
26 struct drm_file *file_priv)
27{
28 return -ENODEV;
29}
30
31static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
32 struct drm_file *file_priv)
33{
34 return -ENODEV;
35}
36#endif
37