g2d: improve readability of cmd alignment check
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 13 Mar 2018 05:42:30 +0000 (14:42 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:10 +0000 (14:28 +0900)
commit649f7d45479daedf5fe43aaf1aa019cee1f5f9b9
tree9028d5f6ee09e6765005b509229daf8cef2cfa5b
parent863f22b3f2e8ac1295f88aaae33ae2134c0e5c76
g2d: improve readability of cmd alignment check

The number of commands in a command list should be a multiple of 8.
Calculating of the remainder of the division of the number of commands
by 8 and adding dummy commands as many as the remainder is not that
intuitive.

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