diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h')
| -rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h | 36 |
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 | |||
| 9 | struct 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 | |||
| 18 | static inline struct nouveau_disp * | ||
| 19 | nouveau_disp(void *obj) | ||
| 20 | { | ||
| 21 | return (void *)nouveau_engine(obj, NVDEV_ENGINE_DISP); | ||
| 22 | } | ||
| 23 | |||
| 24 | extern struct nouveau_oclass *nv04_disp_oclass; | ||
| 25 | extern struct nouveau_oclass *nv50_disp_oclass; | ||
| 26 | extern struct nouveau_oclass *nv84_disp_oclass; | ||
| 27 | extern struct nouveau_oclass *nva0_disp_oclass; | ||
| 28 | extern struct nouveau_oclass *nv94_disp_oclass; | ||
| 29 | extern struct nouveau_oclass *nva3_disp_oclass; | ||
| 30 | extern struct nouveau_oclass *nvd0_disp_oclass; | ||
| 31 | extern struct nouveau_oclass *nve0_disp_oclass; | ||
| 32 | extern struct nouveau_oclass *nvf0_disp_oclass; | ||
| 33 | extern struct nouveau_oclass *gm107_disp_oclass; | ||
| 34 | extern struct nouveau_oclass *gm204_disp_oclass; | ||
| 35 | |||
| 36 | #endif | ||
