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)
commita94b8a77bc914db6556e8019cf23d9dda9ab907e
tree6db211f13edd3cb440c2e79b4c5db623db077935
parent1411796f200de86d037578752450a9853359670c
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