xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 #ifndef __NVKM_UVMM_H__
2 #define __NVKM_UVMM_H__
3 #define nvkm_uvmm(p) container_of((p), struct nvkm_uvmm, object)
4 #include <core/object.h>
5 #include "vmm.h"
6 
7 struct nvkm_uvmm {
8 	struct nvkm_object object;
9 	struct nvkm_vmm *vmm;
10 };
11 
12 int nvkm_uvmm_new(const struct nvkm_oclass *, void *argv, u32 argc,
13 		  struct nvkm_object **);
14 #endif
15