1 #ifndef __NVKM_RAM_NVC0_H__
2 #define __NVKM_RAM_NVC0_H__
3 #define gf100_fb(p) container_of((p), struct gf100_fb, base)
4 #include "priv.h"
5 
6 struct gf100_fb {
7 	struct nvkm_fb base;
8 	struct page *r100c10_page;
9 	dma_addr_t r100c10;
10 };
11 
12 int gf100_fb_new_(const struct nvkm_fb_func *, struct nvkm_device *,
13 		  int index, struct nvkm_fb **);
14 void *gf100_fb_dtor(struct nvkm_fb *);
15 void gf100_fb_init(struct nvkm_fb *);
16 void gf100_fb_intr(struct nvkm_fb *);
17 
18 void gp100_fb_init(struct nvkm_fb *);
19 
20 void gm200_fb_init_page(struct nvkm_fb *fb);
21 void gm200_fb_init(struct nvkm_fb *base);
22 
23 #endif
24