WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvif / mem.h
blob9e1071dd56a0cf125f7c7896a281452fa3dc190f
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_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass,
14 int type, u8 page, u64 size, void *argv, u32 argc,
15 struct nvif_mem *);
16 int nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type,
17 u8 page, u64 size, void *argv, u32 argc, struct nvif_mem *);
18 void nvif_mem_dtor(struct nvif_mem *);
20 int nvif_mem_ctor_map(struct nvif_mmu *, const char *name, u8 type, u64 size,
21 struct nvif_mem *);
22 #endif