]>
Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
1c248b7d ID |
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> | |
1c248b7d ID |
9 | */ |
10 | ||
11 | #ifndef _EXYNOS_DRM_FBDEV_H_ | |
12 | #define _EXYNOS_DRM_FBDEV_H_ | |
13 | ||
9b988a0d AH |
14 | #ifdef CONFIG_DRM_FBDEV_EMULATION |
15 | ||
1c248b7d | 16 | int exynos_drm_fbdev_init(struct drm_device *dev); |
1c248b7d | 17 | void exynos_drm_fbdev_fini(struct drm_device *dev); |
9b988a0d AH |
18 | |
19 | #else | |
20 | ||
21 | static inline int exynos_drm_fbdev_init(struct drm_device *dev) | |
22 | { | |
23 | return 0; | |
24 | } | |
25 | ||
26 | static inline void exynos_drm_fbdev_fini(struct drm_device *dev) | |
27 | { | |
28 | } | |
29 | ||
30 | static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev) | |
31 | { | |
32 | } | |
33 | ||
34 | #define exynos_drm_output_poll_changed (NULL) | |
35 | ||
36 | #endif | |
1c248b7d ID |
37 | |
38 | #endif |