1 #ifndef __NVKM_RAM_NVC0_H__
2 #define __NVKM_RAM_NVC0_H__
8 struct nouveau_fb base;
9 struct page *r100c10_page;
13 int nvc0_fb_ctor(struct nouveau_object *, struct nouveau_object *,
14 struct nouveau_oclass *, void *, u32,
15 struct nouveau_object **);
16 void nvc0_fb_dtor(struct nouveau_object *);
17 int nvc0_fb_init(struct nouveau_object *);
18 bool nvc0_fb_memtype_valid(struct nouveau_fb *, u32);
21 #define nvc0_ram_create(p,e,o,m,d) \
22 nvc0_ram_create_((p), (e), (o), (m), sizeof(**d), (void **)d)
23 int nvc0_ram_create_(struct nouveau_object *, struct nouveau_object *,
24 struct nouveau_oclass *, u32, int, void **);
25 int nvc0_ram_get(struct nouveau_fb *, u64, u32, u32, u32,
26 struct nouveau_mem **);
27 void nvc0_ram_put(struct nouveau_fb *, struct nouveau_mem **);
29 int nve0_ram_init(struct nouveau_object*);