summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h
blob: 71dab55e18a9e219f921568858099b20ab95c269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __NVKM_UVMM_H__
#define __NVKM_UVMM_H__
#define nvkm_uvmm(p) container_of((p), struct nvkm_uvmm, object)
#include <core/object.h>
#include "vmm.h"

struct nvkm_uvmm {
	struct nvkm_object object;
	struct nvkm_vmm *vmm;
};

int nvkm_uvmm_new(const struct nvkm_oclass *, void *argv, u32 argc,
		  struct nvkm_object **);
#endif