]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb707fbdd82df42a4bfdb2356dd0bdb8cc6bfd528
treeb4a8c9cc8a1bf034749247adfc608268d51d43f8
parent81923d71e08ea4b4a5692ca97ef48a23c32bca6b
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