aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv04.h
blob: 7bf6f4b38f1d00dad99f4320d819b3de9e3e4381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __NV04_MMU_PRIV__
#define __NV04_MMU_PRIV__

#include <subdev/mmu.h>

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

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

#endif