xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.h (revision e9f0878c4b2004ac19581274c1ae4c61ae3ca70e)
1 #ifndef __NVKM_UMMU_H__
2 #define __NVKM_UMMU_H__
3 #define nvkm_ummu(p) container_of((p), struct nvkm_ummu, object)
4 #include <core/object.h>
5 #include "priv.h"
6 
7 struct nvkm_ummu {
8 	struct nvkm_object object;
9 	struct nvkm_mmu *mmu;
10 };
11 
12 int nvkm_ummu_new(struct nvkm_device *, const struct nvkm_oclass *,
13 		  void *argv, u32 argc, struct nvkm_object **);
14 #endif
15