]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Add MLOCK release code on Tegra234
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:20:06 +0000 (17:20 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:53 +0000 (16:27 +0200)
commit81923d71e08ea4b4a5692ca97ef48a23c32bca6b
tree6db211f13edd3cb440c2e79b4c5db623db077935
parentf5d7b4953e2192f4208650f636cba34bf69d1113
gpu: host1x: Add MLOCK release code on Tegra234

With the full-featured opcode sequence using MLOCKs, we need to also
unlock those MLOCKs in the event of a timeout. However, it turns out
that on Tegra186/Tegra194, by default, we don't need to do this;
furthermore, on Tegra234 it is much simpler to do; so only implement
this on Tegra234 for the time being.

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