[COMMON] g2d: Add command list completion
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 4 May 2017 09:37:49 +0000 (18:37 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:16 +0000 (14:27 +0900)
commit31c1931eb90a161dc63105299b14f3f27a7e25af
tree40871a9fb2d716c2189b1c2b80577dd082c77b8b
parentfcdda8fa1c183e8efce5fd46f900116967080601
[COMMON] g2d: Add command list completion

To push a command list to H/W, G2D driver should add some required
information to the command list including:
- initialization of H/W for the new job
- information about the layers involved with the job.
- information about secure layers.
The driver should also satisfies the requirment of H/W. It includes
alignment restriction of the number of commands in the command list.
If the number of commands are not multiple of 8, the driver appends
some redundant commands to satisfy the restriction.

Change-Id: Ia986f95de7df8e96907cac0cf7197f1fc3560db8
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/gpu/exynos/g2d/g2d_command.c
drivers/gpu/exynos/g2d/g2d_command.h
drivers/gpu/exynos/g2d/g2d_regs.h
drivers/gpu/exynos/g2d/g2d_task.c
drivers/gpu/exynos/g2d/g2d_uapi_process.c