summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/mmu/nv04.h
blob: 80a404eab441c2aa0512206ae3e43a06c70e8596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __NV04_MMU_PRIV__
#define __NV04_MMU_PRIV__
#include <subdev/mmu.h>

struct nv04_mmu {
	struct nvkm_mmu base;
	struct nvkm_vm *vm;
	dma_addr_t null;
	void *nullp;
};

static inline struct nv04_mmu *
nv04_mmu(void *obj)
{
	return (void *)nvkm_mmu(obj);
}
#endif