gpu: host1x: Use RESTART_W to skip timed out jobs on Tegra186+
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:20:07 +0000 (17:20 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:53 +0000 (16:27 +0200)
commit0ae4ae9158f32fd77e8736da0585d8aff5a3b9d9
treeb4a8c9cc8a1bf034749247adfc608268d51d43f8
parenta94b8a77bc914db6556e8019cf23d9dda9ab907e
gpu: host1x: Use RESTART_W to skip timed out jobs on Tegra186+

When MLOCK enforcement is enabled, the 0-word write currently done
is rejected by the hardware outside of an MLOCK region. As such,
on these chips, which also have the newer, more convenient RESTART_W
opcode, use that instead to skip over the timed out job.

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