summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvhw
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-07-20 11:19:26 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 18:51:04 +1000
commit40f1171e7c26e57d71aa2800fb8ad213b4efb09c (patch)
tree363a4be2f17938c19bfdebd11ff5c8f91642072a /drivers/gpu/drm/nouveau/include/nvhw
parent60cdadace3208001b4e24a1a4b102f767d5df3c2 (diff)
downloadlinux-stable-40f1171e7c26e57d71aa2800fb8ad213b4efb09c.tar.gz
linux-stable-40f1171e7c26e57d71aa2800fb8ad213b4efb09c.tar.bz2
linux-stable-40f1171e7c26e57d71aa2800fb8ad213b4efb09c.zip
drm/nouveau/fence: use NVIDIA's headers for sync()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvhw')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvhw/class/cl176e.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvhw/class/cl176e.h b/drivers/gpu/drm/nouveau/include/nvhw/class/cl176e.h
new file mode 100644
index 000000000000..fa09725c8aea
--- /dev/null
+++ b/drivers/gpu/drm/nouveau/include/nvhw/class/cl176e.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: MIT */
+#ifndef _cl176e_h_
+#define _cl176e_h_
+
+#define NV176E_SET_OBJECT (0x00000000)
+#define NV176E_SET_CONTEXT_DMA_SEMAPHORE (0x00000060)
+#define NV176E_SEMAPHORE_OFFSET (0x00000064)
+#define NV176E_SEMAPHORE_ACQUIRE (0x00000068)
+#define NV176E_SEMAPHORE_RELEASE (0x0000006c)
+#endif