aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/hw_host1x08_hypervisor.h
diff options
context:
space:
mode:
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))