]> Git Repo - linux.git/blob - drivers/gpu/drm/exynos/exynos_drm_fbdev.h
Merge tag 'drm-misc-next-2018-11-21' of git://anongit.freedesktop.org/drm/drm-misc...
[linux.git] / drivers / gpu / drm / exynos / exynos_drm_fbdev.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
3  *
4  * Authors:
5  *      Inki Dae <[email protected]>
6  *      Joonyoung Shim <[email protected]>
7  *      Seung-Woo Kim <[email protected]>
8  *
9  * This program is free software; you can redistribute  it and/or modify it
10  * under  the terms of  the GNU General  Public License as published by the
11  * Free Software Foundation;  either version 2 of the  License, or (at your
12  * option) any later version.
13  */
14
15 #ifndef _EXYNOS_DRM_FBDEV_H_
16 #define _EXYNOS_DRM_FBDEV_H_
17
18 #ifdef CONFIG_DRM_FBDEV_EMULATION
19
20 int exynos_drm_fbdev_init(struct drm_device *dev);
21 void exynos_drm_fbdev_fini(struct drm_device *dev);
22
23 #else
24
25 static inline int exynos_drm_fbdev_init(struct drm_device *dev)
26 {
27         return 0;
28 }
29
30 static inline void exynos_drm_fbdev_fini(struct drm_device *dev)
31 {
32 }
33
34 static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev)
35 {
36 }
37
38 #define exynos_drm_output_poll_changed (NULL)
39
40 #endif
41
42 #endif
This page took 0.037961 seconds and 4 git commands to generate.