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