1 #ifndef __NVKM_DISP_H__
2 #define __NVKM_DISP_H__
3 #define nvkm_disp(p) container_of((p), struct nvkm_disp, engine)
4 #include <core/engine.h>
5 #include <core/event.h>
6 
7 struct nvkm_disp {
8 	const struct nvkm_disp_func *func;
9 	struct nvkm_engine engine;
10 
11 	struct list_head head;
12 	struct list_head ior;
13 	struct list_head outp;
14 	struct list_head conn;
15 
16 	struct nvkm_event hpd;
17 	struct nvkm_event vblank;
18 
19 	struct nvkm_oproxy *client;
20 };
21 
22 int nv04_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
23 int nv50_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
24 int g84_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
25 int gt200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
26 int g94_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
27 int mcp77_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
28 int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
29 int mcp89_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
30 int gf119_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
31 int gk104_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
32 int gk110_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
33 int gm107_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
34 int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
35 int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
36 int gp102_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
37 #endif
38