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