]> 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)
commit1a78adcd2a955b9f9991f9d73e6d613d9bb36456
tree95bf9626d6bc4bf13de511d4606908eb5a0e0db4
parent64e6712b84f257297f290c413b59a959e5ce0cf8
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