Merge tag 'drm-intel-next-fixes-2016-07-25' of git://anongit.freedesktop.org/drm...
[linux-2.6-block.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / disp.h
CommitLineData
878da15a
BS
1#ifndef __NVKM_DISP_H__
2#define __NVKM_DISP_H__
0ce41e3c 3#define nvkm_disp(p) container_of((p), struct nvkm_disp, engine)
ebb945a9 4#include <core/engine.h>
1d7c71a3 5#include <core/event.h>
ebb945a9 6
878da15a 7struct nvkm_disp {
0ce41e3c 8 const struct nvkm_disp_func *func;
70aa8670 9 struct nvkm_engine engine;
0ce41e3c
BS
10
11 struct nvkm_oproxy *client;
7a014a87
BS
12
13 struct list_head outp;
f2c906fc 14 struct list_head conn;
7a014a87 15
79ca2770
BS
16 struct nvkm_event hpd;
17 struct nvkm_event vblank;
ebb945a9 18
70aa8670
BS
19 struct {
20 int nr;
21 } head;
0ce41e3c
BS
22};
23
70aa8670
BS
24int nv04_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
25int nv50_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
26int g84_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
27int gt200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
28int g94_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
29int gt215_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
30int gf119_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
31int gk104_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
32int gk110_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
33int gm107_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
db1eb528 34int gm200_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
f9d5cbb3 35int gp100_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
fd47877f 36int gp104_disp_new(struct nvkm_device *, int, struct nvkm_disp **);
ebb945a9 37#endif