1 #ifndef __NVKM_FB_NV50_H__
2 #define __NVKM_FB_NV50_H__
7 struct page
*r100c08_page
;
11 int nv50_fb_ctor(struct nvkm_object
*, struct nvkm_object
*,
12 struct nvkm_oclass
*, void *, u32
,
13 struct nvkm_object
**);
14 void nv50_fb_dtor(struct nvkm_object
*);
15 int nv50_fb_init(struct nvkm_object
*);
18 struct nvkm_fb_impl base
;
22 #define nv50_ram_create(p,e,o,d) \
23 nv50_ram_create_((p), (e), (o), sizeof(**d), (void **)d)
24 int nv50_ram_create_(struct nvkm_object
*, struct nvkm_object
*,
25 struct nvkm_oclass
*, int, void **);
26 int nv50_ram_get(struct nvkm_fb
*, u64 size
, u32 align
, u32 ncmin
,
27 u32 memtype
, struct nvkm_mem
**);
28 void nv50_ram_put(struct nvkm_fb
*, struct nvkm_mem
**);
29 void __nv50_ram_put(struct nvkm_fb
*, struct nvkm_mem
*);
30 extern int nv50_fb_memtype
[0x80];