exynos_drm_g2d.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics Co.Ltd
  3. * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundationr
  8. */
  9. #ifdef CONFIG_DRM_EXYNOS_G2D
  10. extern int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
  11. struct drm_file *file_priv);
  12. extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, void *data,
  13. struct drm_file *file_priv);
  14. extern int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
  15. struct drm_file *file_priv);
  16. #else
  17. static inline int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data,
  18. struct drm_file *file_priv)
  19. {
  20. return -ENODEV;
  21. }
  22. static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev,
  23. void *data,
  24. struct drm_file *file_priv)
  25. {
  26. return -ENODEV;
  27. }
  28. static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data,
  29. struct drm_file *file_priv)
  30. {
  31. return -ENODEV;
  32. }
  33. #endif