Linux Audio

Check our new training course

Loading...
v5.4
 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
11#ifndef _EXYNOS_DRM_FBDEV_H_
12#define _EXYNOS_DRM_FBDEV_H_
13
14#ifdef CONFIG_DRM_FBDEV_EMULATION
15
16int exynos_drm_fbdev_init(struct drm_device *dev);
 
17void exynos_drm_fbdev_fini(struct drm_device *dev);
18
19#else
20
21static inline int exynos_drm_fbdev_init(struct drm_device *dev)
22{
23	return 0;
24}
25
26static inline void exynos_drm_fbdev_fini(struct drm_device *dev)
27{
28}
29
30static 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
37
38#endif
v3.5.6
 
 1/*
 2 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
 3 *
 4 * Authors:
 5 *	Inki Dae <inki.dae@samsung.com>
 6 *	Joonyoung Shim <jy0922.shim@samsung.com>
 7 *	Seung-Woo Kim <sw0312.kim@samsung.com>
 8 *
 9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice (including the next
17 * paragraph) shall be included in all copies or substantial portions of the
18 * Software.
19 *
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
23 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
24 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
25 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
26 * OTHER DEALINGS IN THE SOFTWARE.
27 */
28
29#ifndef _EXYNOS_DRM_FBDEV_H_
30#define _EXYNOS_DRM_FBDEV_H_
31
 
 
32int exynos_drm_fbdev_init(struct drm_device *dev);
33int exynos_drm_fbdev_reinit(struct drm_device *dev);
34void exynos_drm_fbdev_fini(struct drm_device *dev);
35void exynos_drm_fbdev_restore_mode(struct drm_device *dev);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
37#endif