[RAMEN9610-10376] g2d: add blocking interface by module param
authorhyesoo.yu <hyesoo.yu@samsung.com>
Mon, 24 Dec 2018 06:32:06 +0000 (15:32 +0900)
committerhskang <hs1218.kang@samsung.com>
Fri, 4 Jan 2019 07:16:17 +0000 (16:16 +0900)
commit4e08798b8ba716e5d279920b11c795a6f44e32da
treee7ad9feb7148fa9813061a2ce11743479b47a1eb
parentddd10fddd2c0f43b2c858d87f78039400cd345d7
[RAMEN9610-10376] g2d: add blocking interface by module param

If the jobs are queued larger than max_queued set by
module param or there is not free task on list,
the user request of task could be returned with -EBUSY
immediately, or wait until the number of queued job
is less than max_queued and free list is not empty.

Change-Id: I71dde2620830ea7e4426c86d70b7cd8eba9af952
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d.h
drivers/gpu/exynos/g2d/g2d_debug.c
drivers/gpu/exynos/g2d/g2d_debug.h
drivers/gpu/exynos/g2d/g2d_drv.c
drivers/gpu/exynos/g2d/g2d_task.c