Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
0004  *
0005  * Authors:
0006  *  Inki Dae <inki.dae@samsung.com>
0007  *  Joonyoung Shim <jy0922.shim@samsung.com>
0008  *  Seung-Woo Kim <sw0312.kim@samsung.com>
0009  */
0010 
0011 #ifndef _EXYNOS_DRM_FBDEV_H_
0012 #define _EXYNOS_DRM_FBDEV_H_
0013 
0014 #ifdef CONFIG_DRM_FBDEV_EMULATION
0015 
0016 int exynos_drm_fbdev_init(struct drm_device *dev);
0017 void exynos_drm_fbdev_fini(struct drm_device *dev);
0018 
0019 #else
0020 
0021 static inline int exynos_drm_fbdev_init(struct drm_device *dev)
0022 {
0023     return 0;
0024 }
0025 
0026 static inline void exynos_drm_fbdev_fini(struct drm_device *dev)
0027 {
0028 }
0029 
0030 static inline void exynos_drm_fbdev_restore_mode(struct drm_device *dev)
0031 {
0032 }
0033 
0034 #define exynos_drm_output_poll_changed (NULL)
0035 
0036 #endif
0037 
0038 #endif