diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-09-01 16:22:47 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-09-02 23:10:30 +0900 |
commit | 94e30d93f9360051b76e8e2a4b61753cde5e16c8 (patch) | |
tree | 6ea205ab3ca250b666a3540f277d0b7cbf444f77 /drivers/gpu/drm/exynos/exynos_drm_fb.h | |
parent | 7de5c36c2aa9fc7ae1443d144f895ffd044c6b36 (diff) | |
download | blackbird-obmc-linux-94e30d93f9360051b76e8e2a4b61753cde5e16c8.tar.gz blackbird-obmc-linux-94e30d93f9360051b76e8e2a4b61753cde5e16c8.zip |
drm/exynos: remove exynos_drm_fb_set_buf_cnt()
The exynos_drm_fb_set_buf_cnt() is used to set buffer count only in
exynos_drm_fbdev_update(). This patch sets directly buffer count in
exynos_drm_framebuffer_init() without using exynos_drm_fb_set_buf_cnt(),
so there is no any reason to keep exynos_drm_fb_set_buf_cnt().
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fb.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.h b/drivers/gpu/drm/exynos/exynos_drm_fb.h index 1c9e27c32cd1..897d2cff6287 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.h +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.h @@ -25,10 +25,6 @@ struct exynos_drm_gem_obj *exynos_drm_fb_gem_obj(struct drm_framebuffer *fb, void exynos_drm_mode_config_init(struct drm_device *dev); -/* set a buffer count to drm framebuffer. */ -void exynos_drm_fb_set_buf_cnt(struct drm_framebuffer *fb, - unsigned int cnt); - /* get a buffer count to drm framebuffer. */ unsigned int exynos_drm_fb_get_buf_cnt(struct drm_framebuffer *fb); |