rockchip_drm_fb.h (528B)
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 10struct drm_framebuffer * 11rockchip_drm_framebuffer_init(struct drm_device *dev, 12 const struct drm_mode_fb_cmd2 *mode_cmd, 13 struct drm_gem_object *obj); 14void rockchip_drm_framebuffer_fini(struct drm_framebuffer *fb); 15 16void rockchip_drm_mode_config_init(struct drm_device *dev); 17#endif /* _ROCKCHIP_DRM_FB_H */