summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/vm/nv04.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/subdev/vm/nv04.h')
-rw-r--r--drm/nouveau/nvkm/subdev/vm/nv04.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drm/nouveau/nvkm/subdev/vm/nv04.h b/drm/nouveau/nvkm/subdev/vm/nv04.h
new file mode 100644
index 000000000..ec42d4bc8
--- /dev/null
+++ b/drm/nouveau/nvkm/subdev/vm/nv04.h
@@ -0,0 +1,19 @@
+#ifndef __NV04_VMMGR_PRIV__
+#define __NV04_VMMGR_PRIV__
+
+#include <subdev/vm.h>
+
+struct nv04_vmmgr_priv {
+ struct nouveau_vmmgr base;
+ struct nouveau_vm *vm;
+ dma_addr_t null;
+ void *nullp;
+};
+
+static inline struct nv04_vmmgr_priv *
+nv04_vmmgr(void *obj)
+{
+ return (void *)nouveau_vmmgr(obj);
+}
+
+#endif