9052e2364416ccc5ea77ad6a158568cc2d1628e9
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / rockchip / rockchip_drm_fbdev.h
1 /*
2  * Copyright (C) ROCKCHIP, Inc.
3  * Author:yzq<yzq@rock-chips.com>
4  *
5  * based on exynos_drm_fbdev.h
6  *
7  * This software is licensed under the terms of the GNU General Public
8  * License version 2, as published by the Free Software Foundation, and
9  * may be copied, distributed, and modified under those terms.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
16 #ifndef _ROCKCHIP_DRM_FBDEV_H_
17 #define _ROCKCHIP_DRM_FBDEV_H_
18
19 int rockchip_drm_fbdev_init(struct drm_device *dev);
20 int rockchip_drm_fbdev_reinit(struct drm_device *dev);
21 void rockchip_drm_fbdev_fini(struct drm_device *dev);
22 void rockchip_drm_fbdev_restore_mode(struct drm_device *dev);
23
24 #endif