gpu: ipu-v3: image-convert: move tile burst alignment out of loop
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 14 Aug 2019 08:50:13 +0000 (10:50 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 19 Aug 2019 14:25:30 +0000 (16:25 +0200)
commitfbefb84dd142c7d75232ae9d446ae36829c2dc97
tree1e8a3b9b58b7800a49679716f7d91cd462ee9cd0
parent5fb8b650cc1170f5e7a0f1a4ab3bb2042c007102
gpu: ipu-v3: image-convert: move tile burst alignment out of loop

Burst aligned input and output width can be calculated once per column,
instead of repeatedly for each tile in the column. The same goes for
input and output height per row. Also don't round up the same values
repeatedly.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c