exynos_drm_fbdev.h 739 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  4. *
  5. * Authors:
  6. * Inki Dae <inki.dae@samsung.com>
  7. * Joonyoung Shim <jy0922.shim@samsung.com>
  8. * Seung-Woo Kim <sw0312.kim@samsung.com>
  9. */
  10. #ifndef _EXYNOS_DRM_FBDEV_H_
  11. #define _EXYNOS_DRM_FBDEV_H_
  12. #ifdef CONFIG_DRM_FBDEV_EMULATION
  13. int exynos_drm_fbdev_init(struct drm_device *dev);
  14. void exynos_drm_fbdev_fini(struct drm_device *dev);
  15. #else
  16. static inline int exynos_drm_fbdev_init(struct drm_device *dev)
  17. {
  18. return 0;
  19. }
  20. static inline void exynos_drm_fbdev_fini(struct drm_device *dev)
  21. {
  22. }
  23. static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev)
  24. {
  25. }
  26. #define exynos_drm_output_poll_changed (NULL)
  27. #endif
  28. #endif