]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Don't complete a completed job
authorDmitry Osipenko <digetx@gmail.com>
Tue, 7 Aug 2018 13:07:12 +0000 (16:07 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:30:58 +0000 (18:30 +0100)
commit46d4bf5f52d18f300114eceadadca757ae1c88d6
tree95bf9626d6bc4bf13de511d4606908eb5a0e0db4
parent6c885fb0aa339477de4959e18cfece15a29aa47e
gpu: host1x: Don't complete a completed job

There is a chance that the last job has been completed at the time of
CDMA timeout handler invocation. In this case there is no need to complete
the completed job.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/cdma.c