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