]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce5b322aed934d99c82cc591a32cf5af4992218f
tree52a3e2a001e49730012dde29a2681cc7a96dcb4c
parent15a8957a18ed7a1e0cb33435012569f876de805a
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