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