diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-06-27 17:20:06 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 16:27:53 +0200 |
commit | a94b8a77bc914db6556e8019cf23d9dda9ab907e (patch) | |
tree | 6db211f13edd3cb440c2e79b4c5db623db077935 /drivers/gpu/host1x/hw/hw_host1x08_common.h | |
parent | 1411796f200de86d037578752450a9853359670c (diff) | |
download | linux-a94b8a77bc914db6556e8019cf23d9dda9ab907e.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/host1x/hw/hw_host1x08_common.h')
-rw-r--r-- | drivers/gpu/host1x/hw/hw_host1x08_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/hw_host1x08_common.h b/drivers/gpu/host1x/hw/hw_host1x08_common.h index 4df28440b86b..8e0c99150ec2 100644 --- a/drivers/gpu/host1x/hw/hw_host1x08_common.h +++ b/drivers/gpu/host1x/hw/hw_host1x08_common.h @@ -2,3 +2,10 @@ /* * Copyright (c) 2022 NVIDIA Corporation. */ + +#define HOST1X_COMMON_OFA_MLOCK 0x4050 +#define HOST1X_COMMON_NVJPG1_MLOCK 0x4070 +#define HOST1X_COMMON_VIC_MLOCK 0x4078 +#define HOST1X_COMMON_NVENC_MLOCK 0x407c +#define HOST1X_COMMON_NVDEC_MLOCK 0x4080 +#define HOST1X_COMMON_NVJPG_MLOCK 0x4084 |