]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde1fba8cdb4e6b909e814179a798edab6a931385
tree1e8a3b9b58b7800a49679716f7d91cd462ee9cd0
parent11d0898cf6d37320f35df46894ca674f38355057
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