1*9c92ab61SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 22048e328SMark Yao /* 32048e328SMark Yao * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd 42048e328SMark Yao * Author:Mark Yao <mark.yao@rock-chips.com> 52048e328SMark Yao */ 62048e328SMark Yao 72048e328SMark Yao #ifndef _ROCKCHIP_DRM_FB_H 82048e328SMark Yao #define _ROCKCHIP_DRM_FB_H 92048e328SMark Yao 102048e328SMark Yao struct drm_framebuffer * 112048e328SMark Yao rockchip_drm_framebuffer_init(struct drm_device *dev, 121eb83451SVille Syrjälä const struct drm_mode_fb_cmd2 *mode_cmd, 132048e328SMark Yao struct drm_gem_object *obj); 142048e328SMark Yao void rockchip_drm_framebuffer_fini(struct drm_framebuffer *fb); 152048e328SMark Yao 162048e328SMark Yao void rockchip_drm_mode_config_init(struct drm_device *dev); 172048e328SMark Yao #endif /* _ROCKCHIP_DRM_FB_H */ 18