]> asedeno.scripts.mit.edu Git - linux.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)
commite8bad659381e9d63164f61e3bdf37e1c12274016
tree40d5e046c57613b2688f74541048f8e7477a6163
parent6d6c815daad8ec3469135c310ed39849cbe7752c
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