Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / gpu / drm / nouveau / include / nvif / mem.h
blobb542fe38398eaa14bb90fca5c028226033d6fa89
1 #ifndef __NVIF_MEM_H__
2 #define __NVIF_MEM_H__
3 #include "mmu.h"
5 struct nvif_mem {
6 struct nvif_object object;
7 u8 type;
8 u8 page;
9 u64 addr;
10 u64 size;
13 int nvif_mem_init_type(struct nvif_mmu *mmu, s32 oclass, int type, u8 page,
14 u64 size, void *argv, u32 argc, struct nvif_mem *);
15 int nvif_mem_init(struct nvif_mmu *mmu, s32 oclass, u8 type, u8 page,
16 u64 size, void *argv, u32 argc, struct nvif_mem *);
17 void nvif_mem_fini(struct nvif_mem *);
18 #endif