]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: remove buf_cnt from struct exynos_drm_fb
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 1 Sep 2015 07:22:55 +0000 (16:22 +0900)
committerInki Dae <daeinki@gmail.com>
Wed, 2 Sep 2015 14:10:34 +0000 (23:10 +0900)
commita188a034cdf20f15ddfa97db1d4bd4e2233ef54c
treedb9af6007129864e440393c182cb4015b9980771
parentbe822a9e1a5bb77920db3444ab57c390729e6689
drm/exynos: remove buf_cnt from struct exynos_drm_fb

Looking other drm drivers, there is no the restriction that framebuffer
has only one buffer in .create_handle() callback. They use just first
buffer.

If this limitation is removed, there is no reason keeping buffer count
for framebuffer, so we can remove buf_cnt from struct exynos_drm_fb.

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>
drivers/gpu/drm/exynos/exynos_drm_fb.c