• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
4  * Author:Mark Yao <mark.yao@rock-chips.com>
5  */
6 
7 #ifndef _ROCKCHIP_DRM_FB_H
8 #define _ROCKCHIP_DRM_FB_H
9 
10 struct drm_framebuffer *
11 rockchip_drm_framebuffer_init(struct drm_device *dev,
12 			      const struct drm_mode_fb_cmd2 *mode_cmd,
13 			      struct drm_gem_object *obj);
14 void rockchip_drm_framebuffer_fini(struct drm_framebuffer *fb);
15 
16 void rockchip_drm_mode_config_init(struct drm_device *dev);
17 #endif /* _ROCKCHIP_DRM_FB_H */
18