drm/exynos: ipp: validate a GEM handle with multiple planes 48/40448/6
authorHyungwon Hwang <human.hwang@samsung.com>
Thu, 4 Jun 2015 00:23:26 +0000 (09:23 +0900)
committerHyungwon Hwang <human.hwang@samsung.com>
Mon, 8 Jun 2015 09:56:27 +0000 (18:56 +0900)
commitbb0de2a6c2ed82f5804ecaafe48b35d93514fb3d
tree51e8ac484cfc8faf0fbabdba2431db7476c00f2c
parentcf3e0596a6a849ac2bf11532b310d9f857aa58b6
drm/exynos: ipp: validate a GEM handle with multiple planes

FIMC & GSC driver can calculate the offset of planes. So there are
use cases which IPP receives just one GEM handle of an image with
multiple plane. This patch extends ipp_validate_mem_node() to validate
this case.

Change-Id: Ia7b4486f92c9d075f7f7d60dba183d55b5b5dfc9
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c