summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2022-06-27 17:20:04 +0300
committerThierry Reding <treding@nvidia.com>2022-07-08 16:27:52 +0200
commit9abdd497cd0ac08ed55aea30de1e46d73eef9fc5 (patch)
tree50a88db914337dd65c5f71a7e8501d041cd94c54 /drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h
parent7afd1194a3cdb7ba5aa8d658b2d0655f61457c86 (diff)
downloadlinux-9abdd497cd0ac08ed55aea30de1e46d73eef9fc5.tar.bz2
gpu: host1x: Tegra234 device data and headers
Add device data and chip headers for Tegra234. 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_hypervisor.h')
-rw-r--r--drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h b/drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h
new file mode 100644
index 000000000000..22964324c914
--- /dev/null
+++ b/drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (c) 2022 NVIDIA Corporation.
+ */
+
+#define HOST1X_HV_SYNCPT_PROT_EN 0x1724
+#define HOST1X_HV_SYNCPT_PROT_EN_CH_EN BIT(1)
+#define HOST1X_HV_CH_MLOCK_EN(x) (0x1700 + (x * 4))
+#define HOST1X_HV_CH_KERNEL_FILTER_GBUFFER(x) (0x1710 + (x * 4))