]> 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)
commit7a2a93fb6ba6e597df2d81f9ab1d4a3518a95d7d
tree52a3e2a001e49730012dde29a2681cc7a96dcb4c
parent0be0ba1a5303b800d36e707f046fe092c0116540
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