2 * Copyright (C) ROCKCHIP, Inc.
3 * Author:yzq<yzq@rock-chips.com>
5 * based on exynos_drm_fbdev.h
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.
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.
16 #ifndef _ROCKCHIP_DRM_FBDEV_H_
17 #define _ROCKCHIP_DRM_FBDEV_H_
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);