WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / exynos / exynos_drm_fbdev.h
blob3b1e98e84580c4493aafedb758a00cb2d5db0094
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
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 */
11 #ifndef _EXYNOS_DRM_FBDEV_H_
12 #define _EXYNOS_DRM_FBDEV_H_
14 #ifdef CONFIG_DRM_FBDEV_EMULATION
16 int exynos_drm_fbdev_init(struct drm_device *dev);
17 void exynos_drm_fbdev_fini(struct drm_device *dev);
19 #else
21 static inline int exynos_drm_fbdev_init(struct drm_device *dev)
23 return 0;
26 static inline void exynos_drm_fbdev_fini(struct drm_device *dev)
30 static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev)
34 #define exynos_drm_output_poll_changed (NULL)
36 #endif
38 #endif