drm/exynos: Fix FIMD buffer size calculation
authorDaniel Stone <daniels@collabora.com>
Wed, 8 Apr 2015 15:39:06 +0000 (16:39 +0100)
committerInki Dae <inki.dae@samsung.com>
Mon, 13 Apr 2015 02:48:20 +0000 (11:48 +0900)
commit68a2913407d8defac36f381e4877507a06e57c8e
tree2a88deddc2c1b742537f0eeff79be89967fa8614
parent1c363c7cccf64128087002b0779986ad16aff6dc
drm/exynos: Fix FIMD buffer size calculation

Commit adacb228d72b ("drm: Exynos: Respect framebuffer pitch for
FIMD/Mixer") fixed the buffer size calculation by using the FB
pitch value but later commit 26b9c2813ede1 ("drm/exynos: remove
struct *_win_data abstraction on planes") added a regression so
fix the buffer size calculation again.

Tested on Chromebook Snow / Peach Pit.

Fixes: 26b9c2813ede1 ("drm/exynos: remove struct *_win_data abstraction on planes")
Signed-off-by: Daniel Stone <daniels@collabora.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c