xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.h (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
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 };
10 
11 int gf100_fb_new_(const struct nvkm_fb_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
12 		  struct nvkm_fb **);
13 void *gf100_fb_dtor(struct nvkm_fb *);
14 void gf100_fb_init(struct nvkm_fb *);
15 void gf100_fb_intr(struct nvkm_fb *);
16 
17 void gm200_fb_init(struct nvkm_fb *base);
18 #endif
19