drm/exynos: fix to calculate offset of each plane for ipp gsc
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 4 Mar 2015 05:05:02 +0000 (14:05 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 13 Apr 2015 10:44:55 +0000 (12:44 +0200)
commit9144e7853fb2bbf43ebb1aafe2c06b34289642d1
treef296735ea670ccb8c05c7ec7199bcf5a2a3ab28c
parent54f7c2a58c46cf5b11f2cbc56e028ae7e3d8b0ca
drm/exynos: fix to calculate offset of each plane for ipp gsc

NV12 and YUV420 formats are needed to calculate offset of each plane
in a gem buffer for ipp gsc. Without proper offset, only Y plane
can be processed, so result shows green frame. This patch fixes to
calculate offset for cbcr planes for NV12 and YUV420 formats.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c