Linux Audio

Check our new training course

Loading...
v6.13.7
 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
14struct drm_fb_helper;
15struct drm_fb_helper_surface_size;
16
17#if defined(CONFIG_DRM_FBDEV_EMULATION)
18int exynos_drm_fbdev_driver_fbdev_probe(struct drm_fb_helper *fbh,
19					struct drm_fb_helper_surface_size *sizes);
20#define EXYNOS_DRM_FBDEV_DRIVER_OPS \
21	.fbdev_probe = exynos_drm_fbdev_driver_fbdev_probe
22#else
23#define EXYNOS_DRM_FBDEV_DRIVER_OPS \
24	.fbdev_probe = NULL
25#endif
26
27#endif
v3.15
 
 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 * 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
18int exynos_drm_fbdev_init(struct drm_device *dev);
19int exynos_drm_fbdev_reinit(struct drm_device *dev);
20void exynos_drm_fbdev_fini(struct drm_device *dev);
21void exynos_drm_fbdev_restore_mode(struct drm_device *dev);
 
 
 
 
 
 
 
 
22
23#endif