drm/exynos: ipp: validate a GEM handle with multiple planes
authorHyungwon Hwang <human.hwang@samsung.com>
Tue, 9 Jun 2015 03:45:15 +0000 (12:45 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:58 +0000 (00:32 +0900)
commit3c10473bc87d81897e3a98f3eeca2264e61b4ad9
tree52a3e2a001e49730012dde29a2681cc7a96dcb4c
parentb224fa9f25963736407982423e7aa7160222b1f0
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.

Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c