xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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 #endif
18