]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
authorSteve Longerbeam <slongerbeam@gmail.com>
Thu, 25 Jun 2020 18:13:37 +0000 (11:13 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 20 Jul 2020 13:16:05 +0000 (15:16 +0200)
commitdd81d821d0b3f77d949d0cac5c05c1f05b921d46
tree068b22d45e7726f8dfefe2221b095c59ae5cfd8b
parent0f6245f42ce9b7e4d20f2cda8d5f12b55a44d7d1
gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile

Use a bit-mask of EOF irqs to determine when all required idmac
channel EOFs have been received for a tile conversion, and only do
tile completion processing after all EOFs have been received. Otherwise
it was found that a conversion would stall after the completion of a
tile and the start of the next tile, because the input/read idmac
channel had not completed and entered idle state, thus locking up the
channel when attempting to re-start it for the next tile.

Fixes: 0537db801bb01 ("gpu: ipu-v3: image-convert: reconfigure IC per tile")
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c