summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rockchip/rockchip_drm_fb.h
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2022-10-19 23:35:03 +0200
committerHeiko Stuebner <heiko@sntech.de>2022-10-29 18:31:09 +0200
commit4016379301a33e8bd0c2ef5c02f5d7f6a4afece4 (patch)
tree34e9eb0dedde7ee5e60e10fe28a91b02e02da86e /drivers/gpu/drm/rockchip/rockchip_drm_fb.h
parent2a865248399a13bb2b2bcc50297069a7521de258 (diff)
downloadlinux-stable-4016379301a33e8bd0c2ef5c02f5d7f6a4afece4.tar.gz
linux-stable-4016379301a33e8bd0c2ef5c02f5d7f6a4afece4.tar.bz2
linux-stable-4016379301a33e8bd0c2ef5c02f5d7f6a4afece4.zip
drm: rockchip: remove rockchip_drm_framebuffer_init() function
The function rockchip_drm_framebuffer_init() was in use in the rockchip_drm_fbdev.c file, but that is now replaced by a generic fbdev setup. Reduce the image size by removing the rockchip_drm_framebuffer_init() and sub function rockchip_fb_alloc() and cleanup the rockchip_drm_fb.h header file. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: John Keeping <john@metanate.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/ebe91504-c5df-99e4-635f-832218584051@gmail.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fb.h')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_drm_fb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.h b/drivers/gpu/drm/rockchip/rockchip_drm_fb.h
index 1a696521096d..bae4e079dfb1 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.h
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.h
@@ -7,11 +7,5 @@
#ifndef _ROCKCHIP_DRM_FB_H
#define _ROCKCHIP_DRM_FB_H
-struct drm_framebuffer *
-rockchip_drm_framebuffer_init(struct drm_device *dev,
- const struct drm_mode_fb_cmd2 *mode_cmd,
- struct drm_gem_object *obj);
-void rockchip_drm_framebuffer_fini(struct drm_framebuffer *fb);
-
void rockchip_drm_mode_config_init(struct drm_device *dev);
#endif /* _ROCKCHIP_DRM_FB_H */