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