aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h b/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
new file mode 100644
index 000000000000..626508d8da40
--- /dev/null
+++ b/drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
@@ -0,0 +1,36 @@
1#ifndef __NOUVEAU_DISP_H__
2#define __NOUVEAU_DISP_H__
3
4#include <core/object.h>
5#include <core/engine.h>
6#include <core/device.h>
7#include <core/event.h>
8
9struct nouveau_disp {
10 struct nouveau_engine base;
11
12 struct list_head outp;
13
14 struct nvkm_event hpd;
15 struct nvkm_event vblank;
16};
17
18static inline struct nouveau_disp *
19nouveau_disp(void *obj)
20{
21 return (void *)nouveau_engine(obj, NVDEV_ENGINE_DISP);
22}
23
24extern struct nouveau_oclass *nv04_disp_oclass;
25extern struct nouveau_oclass *nv50_disp_oclass;
26extern struct nouveau_oclass *nv84_disp_oclass;
27extern struct nouveau_oclass *nva0_disp_oclass;
28extern struct nouveau_oclass *nv94_disp_oclass;
29extern struct nouveau_oclass *nva3_disp_oclass;
30extern struct nouveau_oclass *nvd0_disp_oclass;
31extern struct nouveau_oclass *nve0_disp_oclass;
32extern struct nouveau_oclass *nvf0_disp_oclass;
33extern struct nouveau_oclass *gm107_disp_oclass;
34extern struct nouveau_oclass *gm204_disp_oclass;
35
36#endif