]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Cancel only job that actually got stuck
authorDmitry Osipenko <digetx@gmail.com>
Tue, 7 Aug 2018 13:07:11 +0000 (16:07 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:30:24 +0000 (18:30 +0100)
commit64e6712b84f257297f290c413b59a959e5ce0cf8
tree40d5e046c57613b2688f74541048f8e7477a6163
parent0369047cd11a7f1a79a13a54d4959c18024a2d52
gpu: host1x: Cancel only job that actually got stuck

Host1x doesn't have information about jobs inter-dependency, that is
something that will become available once host1x will get a proper
jobs scheduler implementation. Currently a hang job causes other unrelated
jobs to be canceled, that is a relic from downstream driver which is
irrelevant to upstream. Let's cancel only the hanging job and not to touch
other jobs in queue.

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