g2d: improve readability of cmd alignment check
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 13 Mar 2018 05:42:30 +0000 (14:42 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:15 +0000 (20:22 +0300)
commit659152d14dc40efe194038e859966971e4f2ab5a
tree3a13a623aeb0b8977c32bc4e842e8b06683f3547
parente7a069f69d289c6564ea45a122750a0f5cc7ec7c
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