mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
drm/rockchip: drv: rockchip_fb_alloc maybe used by direct show
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: Ic888e72e300a55c041152ad94752b35d3648eb2c
This commit is contained in:
@@ -54,7 +54,7 @@ static const struct drm_framebuffer_funcs rockchip_drm_fb_funcs = {
|
||||
.create_handle = drm_gem_fb_create_handle,
|
||||
};
|
||||
|
||||
static struct drm_framebuffer *
|
||||
struct drm_framebuffer *
|
||||
rockchip_fb_alloc(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode_cmd,
|
||||
struct drm_gem_object **obj, unsigned int num_planes)
|
||||
{
|
||||
|
||||
@@ -21,6 +21,9 @@ void rockchip_drm_mode_config_init(struct drm_device *dev);
|
||||
struct drm_framebuffer *
|
||||
rockchip_drm_logo_fb_alloc(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode_cmd,
|
||||
struct rockchip_logo *logo);
|
||||
struct drm_framebuffer *
|
||||
rockchip_fb_alloc(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode_cmd,
|
||||
struct drm_gem_object **obj, unsigned int num_planes);
|
||||
|
||||
#define to_rockchip_logo_fb(x) container_of(x, struct rockchip_drm_logo_fb, fb)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user