xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
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