1 #ifndef __NVKM_DISP_H__ 2 #define __NVKM_DISP_H__ 3 #include <core/engine.h> 4 #include <core/event.h> 5 6 struct nvkm_disp { 7 struct nvkm_engine base; 8 9 struct list_head outp; 10 11 struct nvkm_event hpd; 12 struct nvkm_event vblank; 13 }; 14 15 static inline struct nvkm_disp * 16 nvkm_disp(void *obj) 17 { 18 return (void *)nvkm_engine(obj, NVDEV_ENGINE_DISP); 19 } 20 21 extern struct nvkm_oclass *nv04_disp_oclass; 22 extern struct nvkm_oclass *nv50_disp_oclass; 23 extern struct nvkm_oclass *g84_disp_oclass; 24 extern struct nvkm_oclass *gt200_disp_oclass; 25 extern struct nvkm_oclass *g94_disp_oclass; 26 extern struct nvkm_oclass *gt215_disp_oclass; 27 extern struct nvkm_oclass *gf110_disp_oclass; 28 extern struct nvkm_oclass *gk104_disp_oclass; 29 extern struct nvkm_oclass *gk110_disp_oclass; 30 extern struct nvkm_oclass *gm107_disp_oclass; 31 extern struct nvkm_oclass *gm204_disp_oclass; 32 #endif 33