]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: image-convert: Only wait for abort completion if active run
authorSteve Longerbeam <slongerbeam@gmail.com>
Wed, 19 Sep 2018 23:13:03 +0000 (16:13 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 5 Nov 2018 13:40:07 +0000 (14:40 +0100)
commit0e2020a25b999abfe44711786983c782f1caf5ba
treea7af78d42ea7183eadc03dc78c7f4022031e0396
parent333bfc4bee64824596842a614a693807da22e81a
gpu: ipu-v3: image-convert: Only wait for abort completion if active run

Only wait for the ctx->aborted completion if there is an active run
in progress, otherwise the wait will just timeout after 10 seconds.
If there is no active run in progress, the done queue just needs to
be emptied.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c